ConcurrentQueue<T>
public class ConcurrentQueue<T> : IProducerConsumerCollection<T>, IEnumerable<T>, IEnumerable, ICollection
Represents a thread-safe first-in, first-out collection of objects.
Gets the number of elements contained in the ConcurrentQueue<T>.
Gets a value that indicates whether the ConcurrentQueue<T> is empty.
public ConcurrentQueue()
Initializes a new instance of the ConcurrentQueue<T> class.
Initializes a new instance of the ConcurrentQueue<T>
class that contains elements copied from the specified collection
Copies the ConcurrentQueue<T> elements to an existing one-dimensional ArrayArray, starting at the specified array index.
Adds an object to the end of the ConcurrentQueue<T>.
Returns an enumerator that iterates through the ConcurrentQueue<T>.
Copies the elements stored in the ConcurrentQueue<T> to a new array.
Attempts to remove and return the object at the beginning of the ConcurrentQueue<T>.
Attempts to return an object from the beginning of the ConcurrentQueue<T>
without removing it.