4. Working with the Framework

My friend and colleague Martin Shoemaker created a roundtable called “Do I Have to Write That .NET Code?” shortly after .NET was first released in 2002. It was a great roundtable back then, and it’s much more relevant now. The .NET Framework has grown and now includes many more new classes and features than it did back then. It’s important that you don’t create features that already exist.

The .NET Framework is a rich class library. The more you learn about the framework, the less code you need to write yourself. The framework library will do more of the work for you. Sadly, the Base Class Library must now contend with the problems associated with release 4. There are better ways to solve problems than existed in ...

Get Effective C# (Covers C# 4.0): 50 Specific Ways to Improve Your C#, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.