c# dictionary update value for a key code example Example: dictionary update c# myDictionary[myKey] = myNewValue;