2 using System
.Collections
.Generic
;
8 class ArrayEqualityComparer
<T
> : IEqualityComparer
<T
[]>
10 public bool Equals (T
[] x
, T
[] y
)
15 public int GetHashCode (T
[] args
)
23 public static int Main ()
25 var d
= new Dictionary
<IFoo
[], IFoo
> (new ArrayEqualityComparer
<IFoo
> ());