IEnumerable<T>

The .NET interface for any sequence you can loop over one item at a time, the basis of foreach and in-memory LINQ.

In more detail

Arrays, lists, dictionaries and sets all implement it. LINQ over IEnumerable<T> runs your lambdas as compiled code in this process, over items already in memory.

Related terms

Taught in

References