An NDoc Documented Class Library

RotDeque.CopyTo Method (Array, Int32)

Copies the deque's contents to an array.

public virtual void CopyTo(
   Array array,
   int idx
);

Parameters

array
The array to copy to.
idx
The array position to start copying at.

Implements

ICollection.CopyTo

Exceptions

Exception TypeCondition
ArgumentException A multidimensional array parameter was specified, or there was not enough space in the array to accomodate all of the deque's elements.
ArgumentNullException An undefined value was specified for the array parameter.
ArgumentOutOfRangeException A negative value was specified for the idx parameter.

See Also

RotDeque Class | Ringlet.Collections Namespace | RotDeque.CopyTo Overload List