Why lambdas seem broken in multithreaded environments (or how closures in C# works).
I’ve been playing around with some code for.NET 3.5 to enable us to split big operations into small parallel tasks. During this work I was reminded why Resharper has the “Access to modified closure” warning. This warning tells us about Continue reading