How can I change the value of a number of keys in a dictionary.
I have the following dictionary :
SortedDictionary
You can use LINQ statment for it
var maxValue = 10 sd= sd.ToDictionary(d => d.key > maxValue ? d.key : d.Key +1, d=> d.Value);