Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

21 lines
379 B
C#

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