2 using System
.Collections
;
3 using System
.Collections
.Generic
;
5 interface IConstraint
{
6 bool Eq (IConstraint b
);
9 class Generic
<A
,B
,C
,D
,E
,F
,G
,H
,T
> where T
: IConstraint
11 public bool Eq (T a
, T b
) {
12 var x
= new List
<T
> ();
15 Array
.BinarySearch (x
.ToArray (), b
);
21 class Impl
: IConstraint
{
22 public bool Eq (IConstraint b
) {
27 public class Unload2
{
28 static void Main (string[] args
) {
30 var b
= new Generic
<object, object, object, object, object, object, object, object, Impl
> ();