System.NET’s System.Collections.Concurrent` is a namespace to work with a multithreaded environment. It provides concurrent addition and removal of items from multiple threads with the `Add` and `Take` methods. Your best choice is steering away from concurrency as much as possible, but when it is not possible, concurrent collections can be handy, even though by no means are they a magic wand.
Anatoly Pashmorga
Software engineer with 10+ years of experience in C# / .NET, JS / TS, cross-platform mobile development
Tags
Understanding Concurrent Collections in C#
Source: Pinay Tube PH
0 Comments