IExtremaEnumerableTTakeLast Method |
Returns a specified number of contiguous elements at the end of the
sequence.
Namespace:
MoreLinq
Assembly:
MoreLinq (in MoreLinq.dll) Version: 3.3.1+b77df70598ab84c28cd43dcf74594024b6d575e1
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