Initializes a new instance of the RandomAccessQueue class which is empty and has the specified capacity (or the default capacity if that is higher).

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

Syntax

C#
public RandomAccessQueue(
	int capacity
)
Visual Basic
Public Sub New ( 
	capacity As Integer
)
Visual C++
public:
RandomAccessQueue(
	int capacity
)
F#
new : 
        capacity : int -> RandomAccessQueue

Parameters

capacity
Type: System..::..Int32
The initial capacity of the queue

See Also