Copies the elements of the PriorityQueue
to an existing one-dimensional Array, starting at a particular array index.
public void CopyTo(T[] array, int index)
parameter | description |
---|---|
array | The one-dimensional Array that is the destination of the elements copied from the PriorityQueue . The Array must have zero-based indexing. |
index | The zero-based index in array at which copying begins. |