Windows apps
Collapse the table of content
Expand the table of content
Information
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)

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:
© 2017 Microsoft