Lecture overview -- Keyboard shortcut: 'u'  Previous page: Overview of Generic Collections in C# -- Keyboard shortcut: 'p'  Next page: The Interface <b><kbd>ICollection<T></kbd></b> -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Help page about these notes  Alphabetic index  Course home  Page 5 : 36
Object-oriented Programming in C#
Collection Classes
The Interface IEnumerable<T>

The interface IEnumerable<T> facilitates traversal of all elements in a collection

 

  • Operations in the interface IEnumerable<T>:

    • IEnumerator<T> GetEnumerator ( )

 

  • Operations in the interface IEnumerator<T>:

    • T Current

    • bool MoveNext( )

    • void Reset ( )