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