namespace CS_ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            Foo1Async();
            Foo2Async();
            for (int i = 0; i < 5; ++i)
            {

Pasted 10 hours ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(2<<1);
    }
}

Pasted 1 day ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine("Hello World!");
    }
}

Pasted 2 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
Int32 unixTimestamp = (Int32)(DateTime.UtcNow.Subtract(new 
DateTime(1970, 1, 1))).TotalSeconds;
        Console.WriteLine(string.Format("{0}", unixTimestamp));
    }
}

Pasted 2 days ago

class Program
{
    static void Main()
    {
    // Array 1.
    var ints1 = new int[3];
    ints1[0] = 4;
    ints1[1] = 3;
    ints1[2] = 0;
    // Array 2.

Pasted 4 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine("Hello World!");
        GetRegistry().OpenSubKey("foo").CreateSubKey("bar");
    }
    public static RegistryKey GetRegistry() 
    {
        return null;

Pasted 4 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine("Hello World!");
        GetRegistry().OpenSubKey("foo").CreateSuKey("bar");
    }
    public static RegistryKey GetRegistry() 
    {
        return null;

Pasted 4 days ago

var array = new [] { "X1", "X-1" };
Array.Sort(array, StringComparer.OrdinalIgnoreCase);
array.Dump();
Array.Sort(array, StringComparer.InvariantCultureIgnoreCase);
array.Dump();

Pasted 5 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
if (0 % 0 == 0) {
        Console.WriteLine("Hello World!");
}
    }
}

Pasted 7 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
if (0 % 1 == 0) {
        Console.WriteLine("Hello World!");
}
    }
}

Pasted 7 days ago

uwhefuhwifhf
public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine("Hello World!");
    }
}

Pasted 7 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Luls();
    }
    public static void Luls() {
        new Thread(() => { Luls(); });
    }
}

Pasted 8 days ago