Queue<T>
Represents a first-in, first-out collection of objects.
Enumerates the elements of a Queue<T>.
Gets the number of elements contained in the Queue<T>.
public Queue()
Initializes a new instance of the Queue<T> class that is empty and has the default initial capacity.
Initializes a new instance of the Queue<T> class that is empty and has the specified initial capacity.
Initializes a new instance of the Queue<T> class that contains elements copied from the specified collection and has sufficient capacity to accommodate the number of elements copied.
Removes all objects from the Queue<T>.
Determines whether an element is in the Queue<T>.
Copies the Queue<T> elements to an existing one-dimensional Array, starting at the specified array index.
Removes and returns the object at the beginning of the Queue<T>.
Adds an object to the end of the Queue<T>.
Returns an enumerator that iterates through the Queue<T>.
Returns the object at the beginning of the Queue<T> without removing it.
Copies the Queue<T> elements to a new array.
Sets the capacity to the actual number of elements in the Queue<T>, if that number is less than 90 percent of current capacity.