Well, I was working on one of the projects which required the use of the FIFO and LIFO data structures. Since the project was based on .NET, I had no trouble at all implementing the same.
The System.Collections namespace provides us with the classes required to implement FIFO and LIFO.
Declare the queue:
Queue myQ = new Queue(5);
To [...]
Filed under: .net, Code, Microsoft, Technical, Visual Studio | Tagged: FIFO, LIFO, Queue, Stack | 3 Comments »