queue class : ToList() method
Description
Copies the queue elements to a new list.
Syntax
queueInstance.ToList()
Arguments
None
Return value
Class | Description |
someList | List to be copied. |
Sample code
//anyQueue is a instance of queue{string} type.
list{string} strList = anyQueue.ToList();
Notes
None
Links for reference
None