Hello,
I have a Dictionary<>
collection that contains characters. The collection has items added and removed constantly by multiple threads. Would initializing a new List<>
collection using the dictionary need a lock?
Example code:
List<Character> charsToUpdate = new List<Character>(this.manager.characters.Values);
Thanks in advanced.