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