1 // Compiler options: /t:library
3 using SCG
= System
.Collections
.Generic
;
7 public abstract class EnumerableBase
<T
> : SCG
.IEnumerable
<T
>
9 public abstract SCG
.IEnumerator
<T
> GetEnumerator ();
11 System
.Collections
.IEnumerator System
.Collections
.IEnumerable
.GetEnumerator()
13 return GetEnumerator();
17 public class ArrayBase
<T
> : EnumerableBase
<T
>
19 public override SCG
.IEnumerator
<T
> GetEnumerator ()
25 public class ArrayList
<T
> : ArrayBase
<T
>
27 public override SCG
.IEnumerator
<T
> GetEnumerator ()
29 return base.GetEnumerator ();