"thread-safe list<t> property" Code Answer

5

if you are targetting .net 4 there are a few options in system.collections.concurrent namespace

you could use concurrentbag<t> in this case instead of list<t>

By T. Yates on August 19 2022

Answers related to “thread-safe list<t> property”

Only authorized users can answer the Search term. Please sign in first, or register a free account.