Mono Class Library: System.Collections.Queue Overview | Members

System.Collections.Queue.ToArray Method

Converts a Queue to a Array [Edit]

public virtual object[] ToArray ()

Returns

Returns a Array with the same items as the Queue [Edit]

Remarks

The Queue is not changed. The first item in the Array is the oldest item in the Queue [Edit]

Requirements

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0