ConcurrentBag<T> Constructor

.NET Framework (current version)
 
Namespace:   System.Collections.Concurrent
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodConcurrentBag<T>()

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

System_CAPS_pubmethodConcurrentBag<T>(IEnumerable<T>)

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

Type Parameters

T

The type of the elements to be stored in the collection.

Return to top
Show: