I would like to use the generic queue class as described in the .NET framework (3.5) but I will need a Remove(int index) method to remove items from the queue. Can I achieve this functionality with an extension method? Anyone care to point me in the right direction?
Share
What you want is a
List<T>where you always callRemoveAt(0)when you want to get the item from theQueue. Everything else is the same, really (callingAddwould add an item to the end of theQueue).