queue class : Clear() method
Description
Removes all elements from the queue.
Syntax
queueInstance.Clear()
Arguments
None
Return value
None
Sample code
//anyQueue is a instance of queue type.
anyQueue.Clear();
Notes
It's a wrapper of the System.Collections.Generic.Queue<t>.Clear().