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
);
25 public static void Main ()
27 Foo
<string> foo
= new Foo
<string> ();
28 foo
.MyEvent
+= new Test
<string> (do_hello
);