-
To all those snooping: Dave and I were talking about this a little on Instant Messenger and got into the discussion about how ForEach operator of lists is designed to cause side effects . Functional purists find this behavior anathema. Eric Lippert came up as a part of that discussion. I saw the Eric...
-
Have you found yourself writing C# code like the following: var query = from n in Enumerable.Range(1, 10) where (n % 2) == 0 select n; foreach(var n in query) { Console.WriteLine(n); } Wouldn't it be nice if the language allowed you to skip the local query variable and express yourself like so: foreach...