queue class : Enqueue(class) method
Description
Adds an instance to the end of the queue.
Syntax
queueInstance.Enqueue(someClass element)
Arguments
Class | Name | Description |
someClass | element | The instance to be added. |
Return value
None
Sample code
//anyQueue is a instance of queue{string} type.
anyQueue.Enqueue("ww");
Notes
It's a wrapper of the System.Collections.Generic.Queue<t>.Enqueue(T).