C#

C# notes #

Hello world #

using System;

public class Test
{
    public static void Main()
    {
        Console.WriteLine("Hello World!");
    }
}

Variables #

var varName = "var value";
String varName2 = "another string";

Flow control #

if (bool condition) {
    ...
} else {
    ...
}