Search notes:

C# foreach … in

The foreach … in statement manages the complexity of calling the appropriate methods in the correct order of enumerators.

See also

System.Collections.IEnumerable, System.Collections.IEnumerator, System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IEnumerator<T>
The yield keyword
The Visual Basic equivalent of forach in is for each …

Index