2 using System.Collections;
3 using System.Collections.Generic;
5 public class Qux<X,V> : IEnumerable<V>
6 where V : IComparable<V>
8 public IEnumerator<V> GetEnumerator()
13 IEnumerator IEnumerable.GetEnumerator()
19 public class Foo<X,V> : Qux<X,V>
20 where V : IComparable<V>
24 public class Test<T> : IComparable<Test<T>>
26 public int CompareTo (Test<T> t)
36 Foo<X,Test<X>> foo = new Foo<X,Test<X>> ();
37 foreach (Test<X> test in foo)