queue class : Dequeue() method
Description
Removes and returns the instance at the top of the queue.
Syntax
queueInstance.Dequeue()
Arguments
None
Return value
Class | Description |
someClass | The instance that was removed from the top of the queue. |
Sample code
//anyQueue is a instance of queue{string} type.
string str = anyQueue.Dequeue();
Notes
It's a wrapper of the System.Collections.Generic.Queue<t>.Dequeue().