Hi, using the ElementCollections Library, why isn't it possible to mutate a value found within a HashTable? From what I understand, the only way to change a value would be to use the RemoveByKey(), followed by AddKeyValuePair(). My goal is to use a Data Structure that works like a Dictionary in Python. The HashTable seems to come close to this, except that the values themselves seem to be immutable...
In python, we can mutate a dict easily (see attached picture).
Hi, using the ElementCollections Library, why isn't it possible to mutate a value found within a HashTable? From what I understand, the only way to change a value would be to use the RemoveByKey(), followed by AddKeyValuePair(). My goal is to use a Data Structure that works like a Dictionary in Python. The HashTable seems to come close to this, except that the values themselves seem to be immutable...
In python, we can mutate a dict easily (see attached picture).
Last edit: egau 2024-08-29