Create a new Dequeu as a copy of the given collection and the given capacity

Namespace: RightEdge.Common
Assembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
public Dequeue(
	ICollection<T> C,
	int Capacity
)
Visual Basic
Public Sub New ( 
	C As ICollection(Of T),
	Capacity As Integer
)
Visual C++
public:
Dequeue(
	ICollection<T>^ C, 
	int Capacity
)
F#
new : 
        C : ICollection<'T> * 
        Capacity : int -> Dequeue

Parameters

C
Type: System.Collections.Generic..::..ICollection<(Of <(<'T>)>)>
The source collection
Capacity
Type: System..::..Int32
The capacity of the new Dequeue (must be >= C.Count)

See Also