Table of Contents

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

source IEnumerable<T>

The source to skip the first element of.

Returns

IEnumerable<T>

All elements of source except the first.

Type Parameters

T

The type of elements in the source.