CollectionUtilities..::..InsertRange<(Of <(<'T>)>)> Method

Inserts a list of values into the target collection.

Namespace:  Tortuga.Anchor
Assembly:  Tortuga.Anchor (in Tortuga.Anchor.dll)

Syntax


public static void InsertRange<T>(
	IList<T> target,
	int startingIndex,
	IEnumerable<T> list
)
Public Shared Sub InsertRange(Of T) ( _
	target As IList(Of T), _
	startingIndex As Integer, _
	list As IEnumerable(Of T) _
)

Type Parameters

T

Parameters

target
Type: IList<(Of <(<'T>)>)>
startingIndex
Type: Int32
list
Type: IEnumerable<(Of <(<'T>)>)>

Remarks


This isn't as fast as a real InsertRange, it just adds one item at a time.