ArrayMethods.TakeFromStart(T) Method

Tungsten Suite

ArrayMethodsTakeFromStartT Method

Retrieves and removes the specified number of elements from the start of the array

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

Parameters

source
Type: T
The source array
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