public static void Main()
    {
        Console.WriteLine("List<int>");
        new List <int> {
            1, 2, 3
        }
        .DoSomething()
        .DoSomething();
        Console.WriteLine("List<string>");
        new List <string> {
            "a", "b", "c"
        }
        .DoSomething()
        .DoSomething();
        Console.WriteLine("int[]");
        new int[] { 1, 2, 3 }
        .DoSomething()
        .DoSomething();
        Console.WriteLine("string[]");
        new string[] { "a", "b", "c" }
        .DoSomething()
        .DoSomething();
        Console.WriteLine("nongeneric collection with ints");
        var stack = new System.Collections.Stack();

        stack.Push(1);
        stack.Push(2);
        stack.Push(3);
        stack
        .DoSomething()
        .DoSomething();
        Console.WriteLine("nongeneric collection with mixed items");
        new System.Collections.ArrayList {
            1, "a", null
        }
        .DoSomething()
        .DoSomething();
        Console.WriteLine("nongeneric collection with .. bits");
        new System.Collections.BitArray(0x6D)
        .DoSomething()
        .DoSomething();
    }