public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(string.Format("jshdfjhfsd_", 4));
    }
}

Pasted 1 day ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine("Hello World!");
        if("A".StartsWith("")){
            Console.WriteLine("we have a match");
        }
    }
}

Pasted 1 day ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(HttpUtility.JavaScriptStringEncode("áéíóú"));
    }
}

Pasted 2 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(HttpUtility.JavaScriptStringEncode("áéíóú"));
    }
}

Pasted 2 days 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)
    {
        Console.WriteLine("Hello World!");
    }
}

Pasted 3 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(f(1, 10, 5, 50));
    }
static Random r = new Random();
int f(int min, int max, int x, int chance)
{
    if (r.Next(100) < chance) return x;

Pasted 4 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        int a = int.MinValue;
        double b = a;
        Console.Write(b.ToString("F"));
        a = int.MaxValue;
        b = a;
        Console.Write(b.ToString("F"));

Pasted 7 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        int a = int.MinValue;
        float b = a;
        Console.Write(b.ToString("F"));
    }
}

Pasted 7 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        float x = -40.3f;
        float y = -20.29f;
        int width = 128;
        int height = 72;
        int squareSize = 1;
        int ix = (int)(x + (width/2) - (squareSize/2));

Pasted 8 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        float x = -40.3f;
        float y = -20.29f;
        int width = 128
        int height = 72;
        int squareSize = 1;
        int ix = (int)(x + (width/2) - (squareSize/2));

Pasted 8 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        int i = 2;
        Console.WriteLine(i.ToString().PadLeft(2, '0'));
    }
}

Pasted 16 days ago