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

gtest-238-lib.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4ff5d3342dbf19cebf32208f0b347ba1a9199713 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Compiler options: /t:library
using System;

public class Foo<T>
{
	public int Test (int index)
	{
		Console.WriteLine ("Test 1: {0}", index);
		return 1;
	}

	public int Test (T index)
	{
		Console.WriteLine ("Test 2: {0}", index);
		return 2;
	}
}