c# edit existing value in dictionary that has class as a value code example Example: dictionary update c# myDictionary[myKey] = myNewValue;