Hello all
I have a quick question: I do alot of iteration of Dictionary.Value collections and in annoys me that I have to call .ToList() to then be able to call .ForEach(), as it seems none of the enumerable collections in a Dictionary (The Dictionary itself, the Keys collection or the Values collection) have a ForEach extension method.
Is there any good reason why the ForEach() extension method has not been implemented on these collections, or is it just something that MS felt was not important?
Is it that unusual to iterate over Dictionary collections? I often use Dictionaries rather than Lists when storing data pulled out of Databases, using the records Identity value as the Key. I have to admit alot of the time I don't even lookup by the Id key, but it is just a habit I have gotten into...