ArrayMethods.PeekStart(T) Method

Tungsten Suite

ArrayMethodsPeekStartT Method

Retrieves the specified number of elements from the start of the array without changing the source array

Namespace:  W
Assembly:  Tungsten.ArrayMethods (in Tungsten.ArrayMethods.dll) Version: 2.0.0
Syntax
C#
public static T[] PeekStart<T>(
	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