c# modify dictionary value in loop backwards code example
Example: c# modify dictionary in loop
List<string> keys = new List<string>(colStates.Keys);
foreach(string key in keys)
{
colStates[key] += 4;
}
List<string> keys = new List<string>(colStates.Keys);
foreach(string key in keys)
{
colStates[key] += 4;
}