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

gtest-015.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5194b666e26a24cb825d4113e127c6f6155d3a63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Very simple example of a generic method.

class Stack<S>
{
	public static void Hello<T,U> (S s, T t, U u)
	{
		U v = u;
	}
}

class X
{
	public static void Main ()
	{
	}
}