2 using System
.Collections
;
7 static IEnumerator
GetIt (int [] args
)
9 foreach (int arg
in args
) {
10 Console
.WriteLine ("OUT: {0}", arg
);
12 Console
.WriteLine ("arg: {0}", arg
);
22 IEnumerator enumerator
= GetIt (new int [] { 1, 2, 3}
);
23 enumerator
.MoveNext ();