IEnumerable.take Method

Returns the specified number of contiguous elements from the start of the sequence.
 

Parameters

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.