Skip to main content

CopyTo Method

Copies the collection's contents to an array.

Definition​

Namespace: Avalonia.Collections
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public void CopyTo(
T[] array,
int arrayIndex
)

Parameters​

  T[]
The array.
  Int32
The first index of the array to copy to.

Implements​

ICollection(T).CopyTo(T[], Int32)

See Also​

Reference​

AvaloniaList(T) Class
Avalonia.Collections Namespace