2 using System
.Collections
;
7 static IEnumerable
GetIt (int [] args
)
9 foreach (int arg
in args
) {
10 Console
.WriteLine ("OUT: {0}", arg
);
12 Console
.WriteLine ("arg: {0}", arg
);
23 foreach (int i
in GetIt (new int [] { 1, 2, 3}
)){
24 Console
.WriteLine ("Got: " + i
);