1 // Compiler options: -r:mtest-8-dll.dll
11 public event MyFunnyDelegate DoSomething;
13 public void DoSomethingFunny()
15 if (DoSomething != null) DoSomething(this, "hello there", "my friend");
18 public static void Main(string[] args)
20 MyClass mc = new MyClass();
21 mc.DoSomethingFunny();