27 lines
205 B
C#
27 lines
205 B
C#
|
public interface I : IA
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public interface IA
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public class C
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public class G<T> where T : C, I
|
||
|
{
|
||
|
}
|
||
|
|
||
|
class Test<U> where U : C , I
|
||
|
{
|
||
|
G<U> field;
|
||
|
}
|
||
|
|
||
|
class M
|
||
|
{
|
||
|
public static void Main ()
|
||
|
{
|
||
|
}
|
||
|
}
|