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

test-855.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 29aa90ded60aa4c66878459a7b5115a426307d50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
namespace Test
{
	public interface IInterface
	{
		string Get (string key, string v);
		int Get (string key, int v);
	}

	public class BaseClass
	{
		public string Get (string key, string v)
		{
			return v;
		}

		public int Get (string key, int v)
		{
			return 0;
		}
	}

	public class Subclass : BaseClass, IInterface
	{
		public static void Main ()
		{
			new Subclass ();
		}
	}
}