IExtremaEnumerableTTake Method

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

Definition

Namespace: MoreLinq
Assembly: MoreLinq (in MoreLinq.dll) Version: 4.1.0+0e154ef592f33ce0f6f3d534a9eedee273f0ce72
C#
IEnumerable<T> Take(
	int count
)

Parameters

count  Int32
The number of elements to return.

Return Value

IEnumerableT
An IEnumerableT that contains the specified number of elements from the start of the input sequence.

See Also