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