public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine("Hello World!");
var list = new List<string>() {"1", "2", "3", "4"};
string cptCodeParam = list.Aggregate((a, b) => $"{a},{b}");
Console.WriteLine(cptCodeParam);
    }
}

Pasted 3 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine("{0:C}", 12345);
    }
}

Pasted 5 days ago

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

Pasted 7 days ago

public class Default
{
    public static void Main(string[] args)
    {
        float @float = 0.0f;
        for(int @int = 0; @int < 10; @int += 1)
        {
            @float += 0.1f;
        }
        Console.WriteLine(@float == 1.0f);

Pasted 15 days ago

public class Default
{
    public static void Main(string[] args)
    {
        float x = 0.0f;
        for(int i = 0; i < 10; i += 1)
        {
            x += 0.1f;
        }
        Console.WriteLine(x == 1.0f);

Pasted 15 days ago

public class Default
{
    public static void Main(string[] args)
    {
        float x = 0.0f;
        for(int i = 0; i < 10; i += 1)
        {
            x += 0.1f;
        }
        Console.WriteLine(x == 1.0f);

Pasted 15 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        float f = 0f;
    }
}

Pasted 28 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        string[] strings = new string[] { "1", "2", "3" };
        object[] objects = (object[])strings;
        //objects[2] = new object();
        Console.WriteLine(objects[2]);
    }
}

Pasted 31 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        string[] strings = new string[] { "1", "2", "3" };
        object[] objects = (object[])strings;
        objects[2] = new object();
        Console.WriteLine(strings[2]);
    }
}

Pasted 31 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(DateTime.Parse("2001-01-01T10:00:00+1000").ToString("O"));
        Console.WriteLine("Hello World!");
    }
}

Pasted 31 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(DateTime.Now.AddHours(12).ToString("O"));
        Console.WriteLine("Hello World!");
    }
}

Pasted 31 days ago

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

Pasted 31 days ago