Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gtest-328.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b4dc3287c311f2b2e524e3033fa0117f1b762a08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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));
	}
}