Jon Skeet

I wish the “enumerable” and “enumerator” terminology had been “iterable” and “iterator,” including IIterable<T> and IIterator<T> interfaces. Admittedly, the double-I part is ugly, but it would have kept more lexical space between iterators and enumerations. It’s bizarrely long-winded to enumerate over an enumeration.

10.14.2 Enumerable Interfaces

The enumerable interfaces are the nongeneric interface System.Collections.IEnumerable and all instantiations of the generic interface System.Collections.Generic.IEnumerable<T>. For the sake of brevity, in this chapter these interfaces are referenced as IEnumerable and IEnumerable<T>, respectively.

10.14.3 Yield Type

An iterator produces a sequence of values, all of the same type. This ...

Get The C# Programming Language (Covering C# 4.0), Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.