System.Collections.Concurrent.ConcurrentQueue<T>
public class ConcurrentQueue<T> : IProducerConsumerCollection<T>, IEnumerable<T>, IEnumerable, ICollection, IReadOnlyCollection<T>
namespace System.Collections.Concurrent
{
public class ConcurrentQueue<T> : IProducerConsumerCollection<T>, IEnumerable<T>, IEnumerable, ICollection, IReadOnlyCollection<T>
{
public int Count { get; }
public bool IsEmpty { get; }
public ConcurrentQueue();
public ConcurrentQueue(IEnumerable<T> collection);
public void CopyTo(T[] array, int index);
public void Enqueue(T item);
public IEnumerator<T> GetEnumerator();
public T[] ToArray();
public bool TryDequeue(out T result);
public bool TryPeek(out T result);
}
}