1. C # Language Idioms

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. C# is another curly-braced language, making it easy to fall into the same idioms you used in other languages in the same family. That will prevent you from getting the most out of C#. The C# language has evolved since its first commercial release in 2001. It’s now much farther removed from C++ or Java than it was in its original release. If you are approaching C# from another language, ...

Get Effective C#: 50 Specific Ways to Improve Your C#, Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.