Extension Methods Roundup: Intersect, Union, AsNullable and GroupEvery
Here we go with the third installment of the Extension Method Roundup. The reason behind these ‘code dumps’ is that LINQ is a central part of my coding and always find new problems I want to find elegant solutions to. Hope these prove as useful to you as they do to me…. You can read the copy of the original post, or if that goes down too, you can try the Wayback Machine’s copy of it. Context: This post was automatically imported from my old blog, which was originally hosted on Microsoft’s ASP.NET Community Blogs. When they shut it down, I dumped all of my old posts to Wordpress. You can still check out the original blog on the Wayback Machine.
2008-07-31
1 min read
Asynchronously Preloaded LINQ Queries
As a rule of thumb, when presented with two independent blocking I/O operations on more than one independent devices, it’s best to use threads to create parallel operations, instead of waiting for a single synchronous operation to complete. That way, executing operations O1, …, On, each of which take T1, …, Tn will result in total time where T < T1 + … + Tn, instead of T = T1 + … + Tn…. You can read the copy of the original post, or if that goes down too, you can try the Wayback Machine’s copy of it.
2008-07-29
1 min read
Extension Methods Roundup: Remove, Aggregate, At, AsIndexed and Friends
Hey hey hey! It’s time for another Extension Methods Roundup! Here are some of the extension methods I’ve written since the last one:… You can read the copy of the original post, or if that goes down too, you can try the Wayback Machine’s copy of it. Context: This post was automatically imported from my old blog, which was originally hosted on Microsoft’s ASP.NET Community Blogs. When they shut it down, I dumped all of my old posts to Wordpress. You can still check out the original blog on the Wayback Machine.
2008-06-19
1 min read