1 // cs0123.cs: Method 'MainClass.Delegate()' does not match delegate 'void TestDelegate()'
4 delegate int TestDelegate(bool b);
6 public class MainClass {
7 public static int Delegate() {
11 public static void Main() {
12 TestDelegate delegateInstance = new TestDelegate (Delegate);