a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
21 lines
379 B
C#
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));
|
|
}
|
|
}
|