C
C#12mo 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 User12mo ago
Message Not Public
Sign In & Join Server To View
nathanAjacobs
nathanAjacobs12mo ago
Thank you for your response. That totally makes sense
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View