1. C# Language Elements

Why should you change what you are doing today if it works? The answer is that you can be better. You change tools or languages because you can be more productive. You don’t realize the expected gains if you don’t change your habits. This is harder when the new language, C#, has so much in common with a familiar language, such as C++ or Java. It’s easy to fall back on old habits. Most of these old habits are fine. The C# language designers want you to be able to leverage your knowledge in these languages. However, they also added and changed some elements to provide better integration with the Common Language Runtime (CLR), and provide better support for component-oriented development. This chapter discusses those ...

Get Effective C#: 50 Specific Ways to Improve Your C# 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.