how to replace and existing value in dictionary c# code example Example: dictionary update c# myDictionary[myKey] = myNewValue;