2 using System.Collections.Generic;
9 public static void Main ()
11 MyClass mc = new MyClass ();
12 List<string> l = new List<string> ();
13 TestMethod ("Some format {0}", l, mc);
16 static void TestMethod (string format, List<string> l, params MyClass[] parms)
18 Console.WriteLine (String.Format (format, parms));