¡@

Home 

c# Programming Glossary: colstates

Editing dictionary values in a foreach loop

http://stackoverflow.com/questions/1070766/editing-dictionary-values-in-a-foreach-loop

fixing my code would be appreciated. Dictionary string int colStates new Dictionary string int ... Some code to populate colStates.. new Dictionary string int ... Some code to populate colStates dictionary ... int OtherCount 0 foreach string key in colStates.Keys.. dictionary ... int OtherCount 0 foreach string key in colStates.Keys double Percent colStates key TotalCount if Percent 0.05..