ArrayMethods.Take(T) Method

Tungsten Suite

ArrayMethodsTakeT Method

Retrieves and removes the specified range of elements from the array

Namespace:  W
Assembly:  Tungsten.ArrayMethods (in Tungsten.ArrayMethods.dll) Version: 2.0.0
Syntax
C#
public static T[] Take<T>(
	ref T[] source,
	int startIndex,
	int length
)

Parameters

source
Type: T
The source array
startIndex
Type: SystemInt32
The index from which to start retrieving elements
length
Type: SystemInt32
The number of elements to retrieve

Type Parameters

T
The data type

Return Value

Type: T
A new array containing only the specified subset of elements
See Also