public class DotNetPad
{
    public static void Main(string[] args)
    {
byte[] bytes = System.Text.Encoding.Default.GetBytes("hello");
    }
}

Pasted 3 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(DateTime.Now.ToString("MMMM dd, yyyy"));
    }
}

Pasted 5 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(DateTime.Now.ToString("M, yyyy"));
    }
}

Pasted 5 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(DateTime.Now.ToString("%M, yyyy"));
    }
}

Pasted 5 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(DateTime.Now.ToString("%M, yyyy");
    }
}

Pasted 5 days ago

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

Pasted 13 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(HttpUtility.HtmlDecode("hellp&there"));
    }
}

Pasted 13 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(HttpUtility.HtmlDecode("hellp&there"));
    }
}

Pasted 13 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine("Hello World!");
        Console.WriteLine("" + TimeSpan.FromTicks(36000000000).TotalMinutes.ToString());
    }
}

Pasted 14 days ago

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

Pasted 14 days ago

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

Pasted 14 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
var c = "1234567890123";
var trunc = c.Length < 8 ? c : c.SubString(0,8);
        Console.WriteLine(trunc);
    }
}

Pasted 14 days ago