O'Reilly logo

Effective C# (Covers C# 4.0): 50 Specific Ways to Improve Your C#, Second Edition by Bill Wagner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required