4 interface ICharlie
<T
> { }
6 class Delta
: ICharlie
<A
>, ICharlie
<B
>
8 static void Test
<U
> (ICharlie
<U
> icu
, U u
)
12 public void World
<U
> (U u
, IFoo
<U
> foo
)
16 public void Test (Foo foo
)
18 World ("Canada", foo
);
23 Test (new Delta (), new A ());
24 Test (new Delta (), new B ());
28 public interface IFoo
<T
>
32 public class Foo
: IFoo
<int>, IFoo
<string>