One of the hidden gems in .NET 4 is the System.Threading.SpinWait type. This type is typically used for implementing lock-free solutions, and is used heavily throughout the rest of the threading and parallelism support in .NET 4. That’s why I call it “hidden”, because most folks don’t implement their own ...
Sometimes very simple additions to an API or implementation make me happy. One such nicety in the CTP of PLINQ is the implementation of ToString on the concrete types that represent query operators. These implementations provide a textual representation of the query structure, which can be very nice for debugging purposes.
...