2 using System
.Collections
;
5 static IEnumerator GetIt
17 IEnumerable
this [int i
]
31 IEnumerator e
= GetIt
;
34 while (e
.MoveNext ()){
35 Console
.WriteLine ("Value=" + e
.Current
);
36 total
+= (int) e
.Current
;
44 foreach (int i
in x
[2]){
45 Console
.WriteLine ("Value=" + i
);