queue class : Dequeue() method

Description

Removes and returns the instance at the top of the queue.

Syntax

queueInstance.Dequeue()

Arguments

None

Return value

ClassDescription
someClassThe 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().

Links for reference

Copyright © Rice All rights reserved.