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