Archives
-
Parallel LINQ - PLINQ
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.
-
readonly keyword
This is something new that I learned about the readonly keyword. Have a look at the following class: