Provides several thread-safe collection classes that should be used in place of the corresponding types in the System.Collections.NonGeneric and System.Collections packages whenever multiple threads are accessing the collection concurrently. Commonly Used Types: System.Collections.Concurrent.ConcurrentDictionary<TKey, TValue> System.Collections.Concurrent.ConcurrentQueue<T> System.Collections.Concurrent.ConcurrentBag<T> System.Collections.Concurrent.BlockingCollection<T> System.Collections.Concurrent.ConcurrentStack<T>
dotnet add package System.Collections.Concurrent --version 4.0.0
Install-Package System.Collections.Concurrent -Version 4.0.0
| 包名 | 版本要求 |
|---|---|
| System.Runtime | [4.0.0, ) |
| System.Threading.Tasks | [4.0.0, ) |
| 包名 | 版本要求 |
|---|---|
| System.Runtime | [4.0.0, ) |
| System.Threading.Tasks | [4.0.0, ) |
| 作者 | Microsoft |
|---|---|
| 发布时间 | 2015-07-29 09:09:50 |
| 许可证 | http://go.microsoft.com/fwlink/?LinkId=329770 |