13 class Hello
<T
> : IHello
<T
>, Foo
15 public void Print (T t
)
17 Console
.WriteLine ("Hello: {0}", t
);
20 public IHello
<U
> Test
<U
> ()
22 return new Hello
<U
> ();
28 public static void Main ()
30 Hello
<int> hello
= new Hello
<int> ();
32 hello
.Test
<float> ().Print (3.14F
);
34 IHello
<string> foo
= hello
.Test
<string> ();