ArrayMethods.TrimEnd(T) Method

Tungsten Suite

ArrayMethodsTrimEndT Method

Removes the specified number of elements from the end of 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[] TrimEnd<T>(
	ref T[] source,
	int length
)

Parameters

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