I have the following object:
Dictionary<string, List<SubmitSm>> smDic
which is a global variable.
What is the impact/implications of reading items from smDic into a local object for that thread and then remove the copied items from smDic while other threads are performing the same action? Each thread reading and removing items can only read items with a specific dictionary key(it is a one to one relationship)