Certain principles hold for the use of iterators: In general, you should be able to have multiple traversals in progress at the same time; that is, an iterator should allow for the concept of nested ...
Iterator design patterns, according to Microsoft, provide an idiomatic way of writing code where an enumerator accesses elements of a collection by pulling elements of a collection. Observer patterns ...