IExtremaEnumerableTTakeLast Method

Returns a specified number of contiguous elements at the end of the sequence.

Definition

Namespace: MoreLinq
Assembly: MoreLinq (in MoreLinq.dll) Version: 4.4.0+6d97c3b1d482f98300f4446df14742b0e3fafbec
C#
IEnumerable<T> TakeLast(
	int count
)

Parameters

count  Int32
The number of elements to return.

Return Value

IEnumerableT
An IEnumerableT that contains the specified number of elements at the end of the input sequence.

See Also