Click or drag to resize

BcfReadOnlyArrayListExtensionsTakeTSource Method

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

Namespace:  System.Linq
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.2.0
Syntax
public static IEnumerable<TSource> Take<TSource>(
	this BcfReadOnlyArrayList<TSource> source,
	int count
)

Parameters

source
Type: CalculationWorks.BusinessModelBcfReadOnlyArrayListTSource
The sequence to return elements from.
count
Type: SystemInt32
The number of elements to return.

Type Parameters

TSource
The type of the elements of source.

Return Value

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

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type BcfReadOnlyArrayListTSource. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also