IEnumerator interface in c#
Please Explain IEnumerator with the example?What is the main purpose to use it?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Satyapriya NayakPosted May 24, 2012, 2:02 AM
Please refer the below links
http://msdn.microsoft.com/en-us/library/system.collections.ienumerator.aspx
http://www.codeproject.com/Articles/8237/IEnumerable-And-IEnumerator-interfaces
http://www.c-sharpcorner.com/UploadFile/cupadhyay/IEnumeratorUsingInnerClass11092005045455AM/IEnumeratorUsingInnerClass.aspx
Thanks
Gohil JayendrasinhPosted May 24, 2012, 1:58 AM
IEnumerable<T> it's enable you to express
traversal, filter, and projection operations over data in any .NET-based
programming language. For more information
http://msdn.microsoft.com/en-us/library/bb341635
Ex. Sum(IEnumerable<Single>)
The sum of the numbers is 635.13.