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

cs-11.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5adc40a2573087a987fc4c23fa28e06607399829 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// cs-11.cs : Delegate creation expression takes only one argument
// Line : 17

public class Blah {

	public delegate int MyDelegate (int i, int j);

	public int Foo (int i, int j)
	{
		return i+j;
	}

	public static void Main ()
	{
		Blah i = new Blah ();

		MyDelegate del = new MyDelegate ();
	}
}