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

gtest-016.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 113291154f3ec59caf92fadcde8b649f02c4a1d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// A generic method may also use the type parameters
// from its enclosing type.

class Stack<S>
{
	public static void Hello<T> (S s, T t)
	{ }
}

class X
{
	Stack<int> stack;

	public static void Main ()
	{
	}
}