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

cs0100.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 925f07537b3f8c84bafb8e7eb960021af6e2114c (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
// cs0100.cs: The parameter name `a' is a duplicate
// Line: 6
//
// Author: 
// 	Alejandro Snchez Acosta  <raciel@es.gnu.org>
//
// (C) Alejandro Snchez Acosta
//

public class X 
{
	public void Add (int a, int a)
	{
		int c;
		c= a + a;
		Console.WriteLine (c);
	}

	static void Main ()
	{
		this.Add (3, 5);
	}
}