1 // cs0407.cs: `int MainClass.Delegate()' has the wrong return type to match the delegate `void TestDelegate()'
4 delegate void TestDelegate();
6 public class MainClass
{
7 public static int Delegate() {
11 public static void Main() {
12 TestDelegate delegateInstance
= new TestDelegate (Delegate
);