IExtremaEnumerableTTake Method |
Returns a specified number of contiguous elements from the start of
the sequence.
Namespace:
MoreLinq
Assembly:
MoreLinq (in MoreLinq.dll) Version: 3.0.0
Syntax IEnumerable<T> Take(
int count
)
Function Take (
count As Integer
) As IEnumerable(Of T)
IEnumerable<T>^ Take(
int count
)
abstract Take :
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 from the start of the input sequence.
See Also