Enumerable.take Method
Returns the specified number of contiguous elements from the start of a sequence.
This method is static.
Parameters
- source
-
Type: IEnumerable
A sequence to return elements from.
- count
-
Type: Number (Integer)
The number of elements to return.
Return Value
Type: IEnumerable
An enumerable that contains the specified number of elements from the input sequence.