A while ago, Scott Guthrie (Product Manager of the .NET Framework) tweeted a link to James Hare’s “C#/.NET Five Little Wonders That Make Code Better (1 of 3)”. James has since published parts 2 and 3, and I provide the links below as a handy reference:
C#/.NET Five Little Wonders That Make Code Better (1 of 3)
C#/.NET Five Little Wonders That Make Code Better (2 of 3)
C#/.NET Five Little Wonders That Make Code Better (3 of 3)
The tips are short, well-written and cover items such as the null coalescing operator, the StopWatch class, object / collection initialisers, a talk on the use of var and (LINQ) extension methods.
Well worth a read
