IExtremaEnumerableTTake Method

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

Definition

Namespace: MoreLinq
Assembly: MoreLinq (in MoreLinq.dll) Version: 3.4.0+b99a6a8cc504caf2d48372fe54a2f8116c59cd0c
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