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.10-beta-22605
Install-Package System.Collections.Concurrent -Version 4.0.10-beta-22605
| 包名 | 版本要求 |
|---|---|
| System.Runtime | [4.0.0-beta-22605, ) |
| System.Threading.Tasks | [4.0.0-beta-22605, ) |
| 作者 | Microsoft |
|---|---|
| 发布时间 | 2015-02-13 19:03:31 |
| 许可证 | http://go.microsoft.com/fwlink/?LinkId=329770 |