Wintellect.PowerCollections Namespace
Algorithms Class
GhostDoc Pro Sample Help File

ReadOnlyCollectionBase<(Of <(<'T>)>)>..::..ToArray Method

Creates an array of the correct size, and copies all the items in the collection into the array, by calling CopyTo.

Namespace:  Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax


public virtual T[] ToArray()
Public Overridable Function ToArray As T()
public:
virtual array<T>^ ToArray()

Return Value

An array containing all the elements in the collection, in order.