What you want is a List<T>
where you always call RemoveAt(0)
when you want to get the item from the Queue
. Everything else is the same, really (calling Add
would add an item to the end of the Queue
).
What you want is a List<T>
where you always call RemoveAt(0)
when you want to get the item from the Queue
. Everything else is the same, really (calling Add
would add an item to the end of the Queue
).