how to modify dictionary values in c# code example
Example 1: dictionary update c#
myDictionary[myKey] = myNewValue;
Example 2: how to change all values in dictionary c#
dict = dict.ToDictionary(kvp => kvp.Key, kvp => kvp.Value.Select(v => v.Nr));