Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
C# has matured over the past decade: It’s now a rich language with generics, functional programming 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 a clear format that makes it indispensable to hundreds of thousands of developers: clear, practical explanations, expert tips, and plenty of realistic code examples. Drawing on his unsurpassed C# experience, Wagner addresses everything 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 learn how to
Use both types of C# constants for efficiency and maintainability (see Item 2)
Employ immutable data types to promote multicore 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 the dynamic and Expression types over reflection (see Items 42 and 43)
Assess 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 will help you become an outstanding one.
Average Rating: ![]()
![]()
![]()
![]()
Based on 7 Ratings
" " - by jstadnicki on 24-APR-2013
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
Report as Inappropriate
"Great book!!" - by aspant on 10-FEB-2012
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
This is an awsome book. Basic intension is to make you write better code. The explanation to the common coding error are well written.
This book is a must read for all C# developers !!
Report as Inappropriate
"Great resource" - by jmorey on 12-JUL-2011
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
I've been using C# for a while, but "Effective C#" really helped me step up my game. I was able to re-write my code with great usability and perf results, and it's more bullet-proof now.
I'm starting on "More Effective C#" next week : )
Report as Inappropriate
"Awesome book.." - by v-kyleb on 09-DEC-2010
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
If you want to be at the top of your game as a c# developer, read this book!
Report as Inappropriate
"Effective C#" - by gswitz on 27-MAY-2010
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
Really useful for me to have some things pointed out that should have been so obvious!
Report as Inappropriate
Top Level Categories:
Information Technology & Software Development
Product
Vendor
Sub-Categories:
Information Technology & Software Development > Programming
Programming > C#
Product > Microsoft .NET
Vendor > Microsoft