CopyTo Method (T[])
Collapse the table of content
Expand the table of content

ImmutableList<T>.CopyTo Method (T[])

 

Copies the entire immutable list to a compatible one-dimensional array, starting at the beginning of the target array.

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

public void CopyTo(
	T[] array
)

Parameters

array
Type: T[]

The one-dimensional array that is the destination of the elements copied from the immutable list. The array must have zero-based indexing.

Return to top
Show:
© 2016 Microsoft