1 // CS0407: A method or delegate `int MainClass.Delegate()' return type does not match delegate `void TestDelegate()' return type
4 delegate void TestDelegate();
6 public class MainClass {
7 public static int Delegate() {
11 public static void Main() {
12 TestDelegate delegateInstance = new TestDelegate (Delegate);