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

Pasted 12 hours ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        var s = "2 runs 100/1";
        var match = Regex.Match("200 for 100/1","(.)*(<runs>\d){1,3}\/(<runs>\d){1,2}");
        Console.WriteLine(match.Groups["runs"].Value);
    }
}

Pasted 2 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        double a = double.NaN;
        double b = double.NaN;
        Console.Write(a == b);
    }
}

Pasted 7 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
int? test = null;
        Console.WriteLine($"value {test}");
    }
}

Pasted 8 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine("Hello World!");
        int i = 0;
        Action inc = () => ++i;
        inc();
        inc();
        Console.WriteLine(i);

Pasted 9 days ago

class Teacher {    private String name; 
    public void walk() {...}    public void talk() {...}    public void teachStudents() {...} } 
 class Sportsman {    private String name; 
    public void walk() {...}    public void talk() {...}    public void playSports() {...} } 
class Salesman {    private String name; 
    public void walk() {...}    public void talk() {...}    public void sellProducts() {...} } 

Pasted 9 days ago

//9BEC24D222F52909D6108153B7FEFFF2                    
public class Program
{
    //  Source File: D:\t\EasyToYou.eu - IonCube v8.3 Decoder-Batch-version\register.php
//         Time: 2016/11/20 10:00 PM
// Orig. Offset: 0 / 0x00000000
//       Length: 9806 / 0x0000264E (bytes)
    #region sss
    public static string hdrString = "<?php //003ab";
    #endregion

Pasted 16 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        for (int i = 0; i < 100; i++)
        {
            Form form = new Form();
            form.Show();
        }
    }

Pasted 16 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        for (int i = 0; i < 100; i++)
        {
            Console.WriteLine("I am awesome.");
        }
    }
}

Pasted 16 days ago

or (using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class DotNetPad
{
    public static void Main(string[] args)
    {
        for (int i = 0; i < 100; i++)
        {

Pasted 16 days ago

public class DotNetPad
{
static void Main(string[] args) 
{
enum Test { A, B, C=5, D }; 
static void Main(string[] args) {
  int x = (int)Test.D;
  Console.WriteLine(x);
}
}

Pasted 17 days ago

public class DotNetPad
{
static void Main(string[] args) {
enum Test { A, B, C=5, D }; 
static void Main(string[] args) {
  int x = (int)Test.D;
  Console.WriteLine(x);
}
}

Pasted 17 days ago