Feeds:
Posts
Comments

Posts Tagged ‘Iterators’

Iterators enable iterations (or looping) on user defined data types with the C# foreach loop. Currently (in C# 1.x) to enable a type to be iterated through the foreach loop, the type must implement the IEnumerable interface which contains only a single method GetEnumerator() that returns an object of type IEnumerator. The IEnumerator interface contains [...]

Read Full Post »