Queue
Represents a first-in, first-out collection of objects.
Gets the number of elements contained in the Queue.
Gets a value indicating whether access to the Queue is synchronized (thread safe).
Gets an object that can be used to synchronize access to the Queue.
public Queue()
Initializes a new instance of the Queue class that is empty, has the default initial capacity, and uses the default growth factor.
Initializes a new instance of the Queue class that is empty, has the specified initial capacity, and uses the default growth factor.
Initializes a new instance of the Queue class that is empty, has the specified initial capacity, and uses the specified growth factor.
Initializes a new instance of the Queue class that contains elements copied from the specified collection, has the same initial capacity as the number of elements copied, and uses the default growth factor.
Returns a new Queue that wraps the original queue, and is thread safe.
Removes all objects from the Queue.
Creates a shallow copy of the Queue.
Determines whether an element is in the Queue.
Copies the Queue elements to an existing one-dimensional Array, starting at the specified array index.
Removes and returns the object at the beginning of the Queue.
Adds an object to the end of the Queue.
Returns an enumerator that iterates through the Queue.
Returns the object at the beginning of the Queue without removing it.
Copies the Queue elements to a new array.
Sets the capacity to the actual number of elements in the Queue.