SortedDictionary(C#) - 更改值

4 .net c# collections sorteddictionary

在SortedDictionary中是否可以更改项目的值?

Meh*_*ari 12

是的,为什么不?

sortedDictionary[key] = newValue;
Run Code Online (Sandbox Code Playgroud)