3 public delegate void Foo
<V
> (V v
);
5 public delegate void Bar
<W
> (W w
);
10 public static void Hello
<S
> (T t
, S s
)
12 Foo
<long> foo
= delegate (long r
) {
13 Console
.WriteLine (r
);
14 Bar
<T
> bar
= delegate (T x
) {
15 Console
.WriteLine (r
);
16 Console
.WriteLine (t
);
17 Console
.WriteLine (s
);
18 Console
.WriteLine (x
);
30 Test
<string>.Hello ("World", 3.1415F
);