Copy all the elements stored on the current heap to the specified one-dimensional array starting at the specified index
| Exception Type | Condition |
|---|---|
| ArgumentException | Thrown if the array is of the wrong size or rank. |
Heap Class | Microsoft.Samples.Collections Namespace