Tail

Returns the collection without the Head element.

Parameters Returns
IEnumerable<T> source IEnumerable<T>

Usage

Getting the collection Tail

//IEnumerable<int> source = { 5, 8, 9, 10 }
IEnumerable<int> result = source.Tail();

//result = { 8, 9, 10 }

results matching ""

    No results matching ""