Copies the elements of the queue to the given array, beginning at the specified index in the array.

Namespace: MonoSoftware.Core.Collections
Assembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)

Syntax

C#
public void CopyTo(
	Array dest,
	int index
)
Visual Basic
Public Sub CopyTo ( 
	dest As Array,
	index As Integer
)
Visual C++
public:
virtual void CopyTo(
	Array^ dest, 
	int index
) sealed
F#
abstract CopyTo : 
        dest : Array * 
        index : int -> unit 
override CopyTo : 
        dest : Array * 
        index : int -> unit 

Parameters

dest
Type: System..::..Array
The array to copy the contents of the queue into
index
Type: System..::..Int32
The zero-based index in array at which copying begins

Implements

ICollection..::..CopyTo(Array, Int32)

See Also