blob: 1edde49065014cc66c1f6b9e043a079cbacff87f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// CS0123: A method or delegate `MainClass.Delegate()' parameters do not match delegate `TestDelegate(bool)' parameters
// Line: 12
delegate int TestDelegate(bool b);
public class MainClass {
public static int Delegate() {
return 0;
}
public static void Main() {
TestDelegate delegateInstance = new TestDelegate (Delegate);
}
}
|