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

Pasted 6 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
string s = "tet";
        Console.WriteLine("s.Length!");
    }
}

Pasted 7 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        int test = -1;
        Console.WriteLine(System.Convert.ToBoolean(test));
    }
}

Pasted 14 days ago

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

Pasted 14 days ago

let printFl = printfn "%f"
printFl 5.0

Pasted 14 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        int iAllowedMethods=3;    
        Console.WriteLine((iAllowedMethods & 1));
    }
}

Pasted 16 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        int iAllowedMethods=0;    
        Console.WriteLine((iAllowedMethods & 1));
    }
}

Pasted 16 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        int iAllowedMethods=0;    
        Console.WriteLine((iAllowedMethods & 1);
    }
}

Pasted 16 days ago

public class DotNetPad
{
    public void Test<T>() where T : IEnumerable<int>, IComparable
    {
    }
    public static void Main(string[] args)
    {
        Console.WriteLine("Hello World!");
    }
}

Pasted 27 days ago

public class DotNetPad
{
    public void Test<T>() where T : IEnumerable, IComparable
    {
    }
    public static void Main(string[] args)
    {
        Console.WriteLine("Hello World!");
    }
}

Pasted 27 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        var dec = "132";
        Console.WriteLine(Convert.ToDecimal(dec)/100);
    }
}

Pasted 30 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        String ans1;
        String ans2;
        int num1;
        int num2;
        Console.Write("Enter first number ");
        ans1 = Console.ReadLine();

Pasted 40 days ago