a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
16 lines
395 B
C#
16 lines
395 B
C#
// 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);
|
|
}
|
|
}
|
|
|