Click or drag to resize
ListTCopyTo Method (T)

Namespace: System.Collections.Generic
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public void CopyTo(
	T[] array
)

Parameters

array
Type: T
The one-dimensional Array that is the destination of the elements copied from ListT. The Array must have zero-based indexing.
Exceptions
ExceptionCondition
ArgumentNullExceptionarray is null.
ArgumentExceptionThe number of elements in the source ListT is greater than the number of elements that the destination array can contain.
See Also