How do I alter the contents of an IDictionary using C# 3.0 (Linq, Linq extensions) ?
var enumerable = new int [] { 1, 2};
var dictionary = enumerable.ToDictionary(a=>a,a=>0);
//some code
//now I want to change all values to 1 without recreating the dictionary
//how it is done?