Method GetEnumerator
GetEnumerator()
Get an enumerator that iterates through the index collection. Note that this will either increment or decrement indices depending on the value of the Direction property.
Declaration
public IEnumerator<int> GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator<int> | An IEnumerator that is used to iterate the collection. |