ArrayMethods.Trim(T) Method

Tungsten Suite

ArrayMethodsTrimT Method

Removes the specified range of elements from the array, resizing the array as necessary

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

Parameters

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

Type Parameters

T
The data type

Return Value

Type: T
The modified source array
See Also