This is the assembly that surfaces concurrent collections such as ConcurrentDictionary<TKey, TValue>
and ConcurrentBag<T>
. It provides thread-safe collections that should be used whenever multiple threads are accessing the collection concurrently.
Documentation can be found at https://learn.microsoft.com/en-us/dotnet/api/system.collections.concurrent.
- We consider new features, new APIs and performance changes
- We consider PRs that target this library for new source code analyzers
- We don't accept refactoring changes due to new language features
See the Help Wanted issues.
System.Collections.Concurrent
is included in the shared framework and also provided as a NuGet package.