1 public class TestClass
<T
> where T
: class
3 public bool Check (T x
, T y
) { return x == y; }
10 public class TestClass2
<T
> where T
: C
12 public bool Check (T x
, T y
) { return x == y; }
17 public static int Main ()
19 new TestClass
<object> ().Check (null, null);
20 new TestClass2
<C
> ().Check (null, null);