I\'ve gotta be missing something simple here.
Take the following code:
public IEnumerable getInt(){
for(int i = 0; i < 10; i++){
y
You can get a reference to the Enumerator, using the GetEnumerator method, then you can use the MoveNext() method to move on, and use the Current property to access your elements:
var enumerator = getInt().GetEnumerator();
while(enumerator.MoveNext())
{
int n = enumerator.Current;
Console.WriteLine(n);
}