Here you go

Vaibhav Gadodia replied to Jobi K John at 08-May-08 01:12
As peter said, by definition a queue is a FIFO data structure.

You can use the built-in Queue class: System.Collections.Queue or System.Collections.Generic.Queue (if you want to use Generics)...

Here's the MSDN link which should tell you how to use it: http://msdn.microsoft.com/en-us/library/system.collections.queue.aspx




Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  Help me - Jobi K John  07-May-08 1:17:43 PM
      Well the Queue is a first in, first out collection, - Peter Bromberg  07-May-08 3:48:59 PM
      Here you go - Vaibhav Gadodia  08-May-08 1:12:03 AM
      Example - Sanjay Verma  08-May-08 7:03:18 AM
      Re: - chakradhar koturu  08-May-08 10:23:31 PM
      RE : - Swapnil Salunke  09-May-08 1:13:38 AM
      Check this - santhosh ka  11-Aug-08 8:31:02 AM
View Posts