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

Pasted 4 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(Math.Pow(80, 1.8));
    }
}

Pasted 4 days ago

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)
    {
        Console.WriteLine("Hello World!");
        Console.WriteLine("Keeping this all on the same line");
    }
}

Pasted 8 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        var x = "0.75";
        Console.WriteLine(x.ToString("P"));
    }
}

Pasted 11 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        var x = 0.75;
        Console.WriteLine(x.ToString("P"));
    }
}

Pasted 11 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(Dns.GetHostName());
    }
}

Pasted 12 days ago

let inline fart x = x + x
[<EntryPoint>]
let main args =
    printfn "%A" (fart 2)
    printfn "%A" (fart 2.1)
    0

Pasted 12 days ago

let fart x = x + x
[<EntryPoint>]
let main args =
    printfn "%A" (fart 2)
    printfn "%A" (fart 2.1)
    0

Pasted 12 days ago

let fart x = x + x
[<EntryPoint>]
let main args =
    printfn "%A" (fart 2)
    0

Pasted 12 days ago

let fart x = x + x
fart 2

Pasted 12 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        var disposition = new ContentDisposition("attachment; filename=test.txt");
        Console.WriteLine(disposition.FileName);
    }
}

Pasted 13 days ago