Click or drag to resize
AlgorithmsCopyT Method (IEnumerableT, T, Int32)
Copies all of the items from the collection source to the array dest, starting at the index destIndex.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public static void Copy<T>(
	IEnumerable<T> source,
	T[] dest,
	int destIndex
)

Parameters

source
Type: System.Collections.GenericIEnumerableT
The collection that provide the source items.
dest
Type: T
The array to store the items into.
destIndex
Type: SystemInt32
The index to begin copying items to.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:X3Platform.Collections.Algorithms.Copy``1(System.Collections.Generic.IEnumerable{``0},``0[],System.Int32)"]

Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptiondestIndex is negative or greater than dest.Length.
ArgumentNullExceptionsource or dest is null.
ArgumentExceptionThe collection has more items than will fit into the array. In this case, the array has been filled with as many items as fit before the exception is thrown.
See Also