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

System.Collections.Queue.Clone Method

Makes a copy of the Queue [Edit]

public virtual object Clone ()

Returns

A copy of the Queue as a object [Edit]

Remarks

Note:

The Queue returned is completely independent of the Queue it was created from. This means doing a Queue.Enqueue on the copy does not Queue.Enqueue on the original Queue.

[Edit]

Requirements

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