public class DotNetPad
{
    public static void Main(string[] args)
    {
        List<string> orderIds = new List<string>{"A","B"};
        string idList = "";
            for (int i = 0; i < orderIds.Count; i++)
            {
                idList += "'" + orderIds[i] +"'";
                if (i != (orderIds.Count - 1))

Pasted 2 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        List<string> orderIds = new List<string>{"A","B","C"};
        string idList = "";
            for (int i = 0; i < orderIds.Count; i++)
            {
                idList += "'" + orderIds[i] +"'";
                if (i != (orderIds.Count - 1))

Pasted 2 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        List<string> orderIds = new List<string>{"A"};
        string idList = "";
            for (int i = 0; i < orderIds.Count; i++)
            {
                idList += "'" + orderIds[i] +"'";
                if (i != (orderIds.Count - 1))

Pasted 2 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        List<string> orderIds = new List<string>{"A"};
        string idList = "";
            for (int i = 0; i < orderIds.Count; i++)
            {
                idList += "'" + orderIds[i] +"'";
                if (i != (orderIds.Count - 1))

Pasted 2 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        List<string> orderIds = new List<string>{"A"}
        string idList = "";
            for (int i = 0; i < orderIds.Count; i++)
            {
                idList += "'" + orderIds[i] +"'";
                if (i != (orderIds.Count - 1))

Pasted 2 days ago

public class DotNetPad
{
delegate void SomeMethod();
    public static void Main(string[] args)
    {
        List<SomeMethod> delList = new List<SomeMethod>();
            for (int i = 0; i < 10; i++)
            {
                delList.Add(delegate { Console.WriteLine(i); });
            }

Pasted 3 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        List<SomeMethod> delList = new List<SomeMethod>();
            for (int i = 0; i < 10; i++)
            {
                delList.Add(delegate { Console.WriteLine(i); });
            }
            foreach (var del in delList)

Pasted 3 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        var list = new List<string>() {
    "21",
    "22",
    "31",
    "32"
};

Pasted 11 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        var list = new List<string>() {
    "21",
    "22",
    "31",
    "32"
};

Pasted 11 days ago

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

Pasted 11 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine("Hello World!");
Console.WriteLine(DateTime.Parse("2017-10-20").ToString());
    }
}

Pasted 21 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine("enter your name");
        String name =  Console.ReadLine();
        Console.WriteLine(name);
    }
}

Pasted 21 days ago