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.0.0+092a40d82a1b280568ffa006d9a210bdec0792cd
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