queue class : ToList() method

Description

Copies the queue elements to a new list.

Syntax

queueInstance.ToList()

Arguments

None

Return value

ClassDescription
someListList to be copied.

Sample code

//anyQueue is a instance of queue{string} type.

list{string} strList = anyQueue.ToList();

Notes

None

Links for reference

None

Copyright © Rice All rights reserved.