IEnumerable int
suggest changeIn its most basic form, an object that implements IEnumerable represents a series of objects. The objects in question can be iterated using the c# foreach
keyword.
In the example below, the object sequenceOfNumbers
implements IEnumerable. It represents a series of integers. The foreach
loop iterates through each in turn.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents