CLICK ME
yes, even hidden code blocks!
print("hello world!")| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Reflection; | |
| using NUnit.Framework; | |
| namespace MyProject | |
| { | |
| [TestFixture] |
| using System; | |
| using Xamarin.Forms; | |
| namespace Luax.Xaml.AttachedBehaviours.Blog | |
| { | |
| public class ClickBehavior | |
| { | |
| #region ClickedProperty | |
| public static readonly BindableProperty ClickedProperty = BindableProperty.CreateAttached<ClickBehaviour, Command>( | |
| bindable => ClickBehavior.GetClicked(bindable), |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.IO; | |
| using System.Reflection; | |
| namespace FindConflictingReference | |
| { | |
| public class Reference | |
| { | |
| public AssemblyName Assembly { get; set; } |
| // JS array equivalents to C# LINQ methods - by Dan B. | |
| // First: This version using older JavaScript notation for universal browser support (scroll down for ES6 version): | |
| // Here's a simple array of "person" objects | |
| var people = [ | |
| { name: "John", age: 20 }, | |
| { name: "Mary", age: 35 }, | |
| { name: "Arthur", age: 78 }, | |
| { name: "Mike", age: 27 }, |
| <# | |
| .SYNOPSIS | |
| Renames pictures. | |
| .DESCRIPTION | |
| The Rename-Pictures cmdlet to rename pictures to a format where the file creation time is first | |
| in the name in this format: . The idea is that | |
| .PARAMETER Path | |
| Specifies the path to the folder where image files are located. Default is current location (Get-Location). |
This defines the schema for .NET Core's runtimeconfig.json file.
Using Visual Studio, you can get auto-completion if you import the schema in your .JSON file like this:
{
"$schema": "https://gist.githubusercontent.com/natemcmaster/0bdee16450f8ec1823f2c11af880ceeb/raw/runtimeconfig.template.schema.json"
}| /* | |
| public record class Person { | |
| public required int ID { get; init; } | |
| public string FirstName { get; init; } | |
| public string LastName { get; init; } | |
| Person { | |
| if (ID < 0) throw new ArgumentOutOfRangeException(nameof(ID)); | |
| } | |
| } |