Parallel Extensions and I/O
In this post, we’ll investigate some ways that Parallel Extensions can be used to introduce parallelism and asynchrony to I/O scenarios. Here’s a simple scenario. I want to retrieve data from a number of web resources. static string[] Resources = new string[] { "http://www.microsoft.com", "http://www.msdn.com", ...