IExtremaEnumerableTTakeLast Method |
Returns a specified number of contiguous elements at the end of the
sequence.
Namespace:
MoreLinq
Assembly:
MoreLinq (in MoreLinq.dll) Version: 3.0.0
Syntax IEnumerable<T> TakeLast(
int count
)
Function TakeLast (
count As Integer
) As IEnumerable(Of T)
IEnumerable<T>^ TakeLast(
int count
)
abstract TakeLast :
count : int -> IEnumerable<'T>
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