Parallel LINQ - PLINQ

added by siphilp
7/27/2010 7:20:49 AM

1 Kicks, 92 Views

Turns out now with .net 4.0 we can run a query like a multi-threaded application. Say you want to query a collection of objects and return only those that meet certain conditions. Until now, we basically had one ‘control’ that iterated over all the objects in the collection, checked the condition on each object and returned if it passed.