ArrayMethods.Insert(T) Method

Tungsten Suite

ArrayMethodsInsertT Method

Appends the items to an array, resizing the array as necessary

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

Parameters

source
Type: T
The source array
itemsToInsert
Type: T
The array of items to append to the source
index
Type: SystemInt32
The index where the items should be inserted

Type Parameters

T
The data type

Return Value

Type: T
The modified source array
See Also