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:
