Method ButFirst
- Namespace
- Gamelogic.Extensions.Algorithms
- Assembly
- Gamelogic.Extensions.dll
ButFirst<T>(IEnumerable<T>)
Returns an enumerable of all elements of the source but the first, keeping them in order.
public static IEnumerable<T> ButFirst<T>(this IEnumerable<T> source)
Parameters
sourceIEnumerable<T>The source to skip the first element of.
Returns
- IEnumerable<T>
All elements of
sourceexcept the first.
Type Parameters
TThe type of elements in the source.