5 delegate void Test<T> (T t);
9 public event Test<T> MyEvent;
11 public void Hello (T t)
20 static void do_hello (string hello)
22 Console.WriteLine ("Hello: {0}", hello);
27 Foo<string> foo = new Foo<string> ();
28 foo.MyEvent += new Test<string> (do_hello);