The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ConcurrentBag<T> Constructor
.NET Framework (current version)
Namespace:
System.Collections.Concurrent
Assembly: System (in System.dll)
Return to top
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() | ConcurrentBag<T>() | Initializes a new instance of the ConcurrentBag<T> class. |
![]() | ConcurrentBag<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.
Show:
