C
C#17mo ago
nathanAjacobs

✅ Would a ConcurrentDictionary be necessary if I am only adding and never removing?

Would a ConcurrentDictionary be necessary if I'm only ever adding keys and never removing them? Also I'm not using the values of the dictionary so if ConcurrentDictionary is not needed I could use a regular HashSet instead.
3 Replies
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
nathanAjacobs
nathanAjacobsOP17mo ago
Thank you for your response. That totally makes sense
Unknown User
Unknown User17mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server