Click or drag to resize

IExtremaEnumerableTTakeLast Method

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

Namespace:  MoreLinq
Assembly:  MoreLinq (in MoreLinq.dll) Version: 3.2.0+5205ea241d72b079436060d330cd5c2eae7cdcdf
Syntax
IEnumerable<T> TakeLast(
	int count
)

Parameters

count
Type: SystemInt32
The number of elements to return.

Return Value

Type: IEnumerableT
An IEnumerableT that contains the specified number of elements at the end of the input sequence.
See Also