ConcurrentQueue<T> Constructor

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the ConcurrentQueue<T> class.

Namespace:   System.Collections.Concurrent
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodConcurrentQueue<T>()

Initializes a new instance of the ConcurrentQueue<T> class.

System_CAPS_pubmethodConcurrentQueue<T>(IEnumerable<T>)

Initializes a new instance of the ConcurrentQueue<T> class that contains elements copied from the specified collection

Type Parameters

T

The type of the elements contained in the queue.

Return to top
Show: