Effective C# (Covers C# 4.0): 50 Specific Ways to Improve Your C#, Second Edition (2nd Edition) (Effective Software Deve

Effective C# (Covers C# 4.0): 50 Specific Ways to Improve Your C#, Second Edition (2nd Edition) (Effective Software Deve
Authors
Bill Wagner
ISBN
0321658701
Published
29 Mar 2010
Purchase online
amazon.com

C# has matured over the past decade: It’s now a rich language with generics, functional program concepts, and support for both static and dynamic typing. This palette of techniques provides great tools for many different idioms, but there are also many ways to make mistakes. In Effective C#, Second Edition, respected .NET expert Bill Wagner identifies fifty ways you can leverage the full power of the C# 4.0 language to express your designs concisely and clearly.

Page 1 of 2
  1. Editorial Reviews
  2. Customer Reviews

Editorial Reviews

C# has matured over the past decade: It’s now a rich language with generics, functional program concepts, and support for both static and dynamic typing. This palette of techniques provides great tools for many different idioms, but there are also many ways to make mistakes. In Effective C#, Second Edition, respected .NET expert Bill Wagner identifies fifty ways you can leverage the full power of the C# 4.0 language to express your designs concisely and clearly.

Effective C#, Second Edition, follows the format that made Effective C++ (Addison-Wesley, 1998) and Effective Java (Addison-Wesley, 2001) indispensable to hundreds of thousands of developers: clear, practical explanations, experttips, and plenty of realistic code examples. Drawing on his unsurpassed C# experience, Wagner addresseseverything from types to resource management to dynamic typing to multicore support in the C# language and the .NET framework. Along the way, he shows how to avoid common pitfalls in the C# language and the .NET environment.

You’ll

  • Use both types of C# constants for efficiency and maintainability, see item 2
  • Employ immutable data types to promote multi-core processing, see item 20
  • Minimize garbage collection, boxing, and unboxing, see items 16 and 45
  • Take full advantage of interfaces and delegates, see items 22 though 25
  • Make the most of the parallel framework, see items 35 through 37
  • Use duck typing in C#, see Item 38
  • Spot the advantages of dynamic and the Expression types over reflection, see Items 42 and 43.
  • Learn why query expressions are better than loops, see Item 8
  • Understand how generic covariance and contravariance affect your designs, see Item 29
  • See how optional parameters can minimize the number of method overloads, see Item 10

You’re already a successful C# programmer–this book can help you become an outstanding one.

You might also like...

Comments

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“There's no test like production” - Anon