Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# modify dictionary in loop

List<string> keys = new List<string>(colStates.Keys);
foreach(string key in keys)
{
    colStates[key] +=  4;   
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #modify #dictionary #loop
ADD COMMENT
Topic
Name
4+3 =