Collection Classes
- slide 5 : 36
The Interface
IEnumerable<T>
The interface
IEnumerable<T>
facilitates
traversal
of all elements in a collection
The non-generic IEnumerable interface
Operations in the interface
IEnumerable<T>
:
IEnumerator<T>
GetEnumerator
( )
The Iterator Design Pattern
Operations in the interface
IEnumerator<T>
:
T
Current
bool
MoveNext
( )
void
Reset
( )