question

JJTT-0327 avatar image
0 Votes"
JJTT-0327 asked TimonYang-MSFT commented

Business context for concurrent bag, concurrent stack and concurrent dictionary

Hello,

From your experience what business context or business example have you applied concurrent bag, concurrent stack and concurrent dictionary? Did it provide benefit?

Thank you!

93539-image.png


dotnet-csharp
image.png (108.7 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@JJTT-0327
May I know if your understanding of these three collections is clearer than before? If you still don’t understand, please let me know.

0 Votes 0 ·

1 Answer

TimonYang-MSFT avatar image
0 Votes"
TimonYang-MSFT answered

Please consult these documents to see if it will help you understand these thread-safe collections:

When to use a thread-safe collection

Thread-Safe Collections

How to add and remove items from a ConcurrentDictionary


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.