Method Backwards
Backwards()
Create a collection containing the same items as this collection, but whose enumerator will enumerate the items backwards. The new collection will become invalid if the original is modified. Method typically used as in
foreach (T x in coll.Backwards()) {...}
Declaration
IDirectedEnumerable<T> Backwards()
Returns
Type | Description |
---|---|
IDirectedEnumerable<T> | The backwards collection. |