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: 959bf9382a9aaf8a16cd4708e837ea7579e1f749 (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: same parameters name in a method declaration.
// Line: 6
//
// Author: 
// 	Alejandro Sánchez Acosta  <raciel@es.gnu.org>
//
// (C) Alejandro Sánchez 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);
	}
}