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

gtest-018.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7a9ae513a58c951cfc535752991e820f41578cb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
public class Stack
{
	public Stack ()
	{ }

	public void Hello<T> (T t)
	{ }
}

public class X
{
	public static void Foo (Stack stack)
	{
		stack.Hello<string> ("Hello World");
	}

	public static void Main ()
	{
		Stack stack = new Stack ();
		Foo (stack);
	}
}