2 using System
.Collections
;
3 using System
.Collections
.Generic
;
5 interface IFoo
: IEnumerable
<Foo
>
11 List
<Foo
> _fooList
= new List
<Foo
> ();
13 IEnumerator
<Foo
> IEnumerable
<Foo
>.GetEnumerator ()
15 return _fooList
.GetEnumerator ();
18 public IEnumerator
GetEnumerator ()
20 return _fooList
.GetEnumerator ();
23 public static void Main ()