Hello everyone,
I am wondering why do we need to derive some type from IEnumerator<T>? Could anyone show me some useful samples?
I think using IEnumerator<T> itself should be enough in all cases?
thanks in advance,
George
This is a discussion on derive from IEnumerator<T> within the C# Programming forums, part of the General Programming Boards category; Hello everyone, I am wondering why do we need to derive some type from IEnumerator<T>? Could anyone show me some ...
Hello everyone,
I am wondering why do we need to derive some type from IEnumerator<T>? Could anyone show me some useful samples?
I think using IEnumerator<T> itself should be enough in all cases?
thanks in advance,
George
This page has an illustration of when you can create a custom iterator
http://msdn.microsoft.com/en-us/libr...numerator.aspx