Effective C# (Covers C# 4.0): 50 Specific Ways to Improve... and over 2 million other books are available for Amazon Kindle . Learn more


or
Sign in to turn on 1-Click ordering.
Trade in Yours
For a 4.80 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Colour:
Image not available

 
Start reading Effective C# on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Effective C# (covers C# 4.0): 50 Specific Ways to Improve Your C# (Effective Software Development) [Paperback]

Bill Wagner
2.9 out of 5 stars  See all reviews (7 customer reviews)
RRP: 27.99
Price: 20.99 & FREE Delivery in the UK. Details
You Save: 7.00 (25%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 4 left in stock (more on the way).
Dispatched from and sold by Amazon. Gift-wrap available.
Want it tomorrow, 25 April? Choose Express delivery at checkout. Details

Formats

Amazon Price New from Used from
Kindle Edition 12.99  
Paperback 20.99  
Trade In this Item for up to 4.80
Trade in Effective C# (covers C# 4.0): 50 Specific Ways to Improve Your C# (Effective Software Development) for an Amazon.co.uk gift card of up to 4.80, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Book Description

5 Mar 2010 0321658701 978-0321658708 2

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.


Frequently Bought Together

Effective C# (covers C# 4.0): 50 Specific Ways to Improve Your C# (Effective Software Development) + More Effective C#: 50 Specific Ways to Improve Your C# (Effective Software Development)
Buy the selected items together


Product details

  • Paperback: 352 pages
  • Publisher: Addison Wesley; 2 edition (5 Mar 2010)
  • Language: English
  • ISBN-10: 0321658701
  • ISBN-13: 978-0321658708
  • Product Dimensions: 22.9 x 17.5 x 2.3 cm
  • Average Customer Review: 2.9 out of 5 stars  See all reviews (7 customer reviews)
  • Amazon Bestsellers Rank: 52,912 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Authors

Discover books, learn about writers, and more.

Product Description

Review

“Being an effective .NET developer requires one to have a deep understanding of the language of their choice. Wagner’s book provides the reader with that knowledge via well-reasoned arguments and insight. Whether you’re new to C# or you’ve been using it for years, you’ll learn something new when you read this book.”

–Jason Bock, Principal Consultant, Magenic

 

“If you’re at all like me, you have collected a handful of C# language pearls that have immediately transformed your abilities as a professional developer. What you hold in your hands is quite possibly the best collection of these tips that have ever been assembled. Bill has managed to exceed my wildest expectations with the latest edition in his eponymous Effective C#.

–Bill Craun, Principal Consultant, Ambassador Solutions

 

Effective C#, Second Edition, is a must-read for anyone building high performance and/or highly scalable applications. Bill has that rare and awesome ability to take an amazingly complex problem and break it down into human, digestible, and understandable chunks.”

–Josh Holmes, Architect Evangelist, Microsoft

 

“Bill has done it again. This book is a concise collection of invaluable tips for any C# developer. Learn one tip every day, and you’ll become a much better C# developer after fifty days!”

–Claudio Lassala, Lead Developer, EPS Software/CODE Magazine

 

“A fountain of knowledge and understanding of the C# language. Bill gives insight to what happens under the covers of the .NET runtime based on what you write in your code and teaches pragmatic practices that lead to cleaner, easier to write, and more understandable code. A great mix of tips, tricks, and deep understanding–including things true since C# 1.0 up through new capabilities in C# 4.0–that every C# developer should read.”

–Brian Noyes, Chief Architect, IDesign Inc. (www.idesign.net)

 

Effective C# is a must-have for every C# developer. Period. Its pragmatic advice on code design is invaluable.”

–Shawn Wildermuth, Microsoft MVP (C#), Author, Trainer, and Speaker

 

“In this book Bill Wagner provides practical explanations of how to use the most important features in the C# language. His deep knowledge and sophisticated communication skills illuminate the new features in C# so that you can use them to write programs that are more concise and easier to maintain.”

–Charlie Calvert, Microsoft C# Community Program Manager

From the Back Cover

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.


Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

Most Helpful Customer Reviews
3 of 3 people found the following review helpful
5.0 out of 5 stars Excellent book 17 Oct 2010
Format:Paperback
I have just read this book and I completely recommend it.

Bill Wagner goes into detail explaining a lot of corners in the C# language. Each item has examples showing the pros and cons of each solution along with the explanation.

I highly recommend this book to anyone developing C# code, as a reference or knowledge source.
Comment | 
Was this review helpful to you?
14 of 16 people found the following review helpful
2.0 out of 5 stars Don't get the kindle version 25 Sep 2010
Format:Kindle Edition
The book is a good book but get a paper version, not the kindle one.

The code samples are pictures and badly re-sized by the kindle.

The result being that they are either blurry or too small to read and even when displayed with a size similar to pure text their low contrast (They appear mostly gray compared to normal text) make them really painful to read.
Comment | 
Was this review helpful to you?
2 of 2 people found the following review helpful
2.0 out of 5 stars Not for experienced C# person 14 Jun 2013
By Aman
Format:Paperback|Verified Purchase
Nothing much to learn for experienced .Net developers apart from Dynamic programming which is a new feature. I think it is mainly focused on people switching from c++ to C#
Comment | 
Was this review helpful to you?
2 of 2 people found the following review helpful
4.0 out of 5 stars An Effective book 17 Oct 2010
Format:Paperback
There are already numerous books written on the topic of C# and the .Net runtime, many of which broadly fall into the category of 'How to', 'Technical Reference' (or a blend of the two). These books often present an arbitrary style and approach to coding C# (presumably biased towards the author's own preference).
This book isn't really either of these. It's not the first C# book you should read and it assumes a degree of experience with the language. What this book does though is guide you through the best practice approaches to many common coding problems and idioms. C# and indeed the .Net platform offer many options for just about every coding task and it can often be difficult to discern the optimal approach in any given situation. Particularly if the way you've always done it 'works' (at least on the face of it). Many people simply follow the way they were taught without ever having much need to question it, unless an obscure bug or performance problem happens to become visible.
This book discusses each of the 50 items, being careful to highlight the 'whys' and put forward a well-reasoned solution/approach in each case. Consistently providing code examples illustrating each clearly. To me the content and style of this book was more like receiving wisdom from a mentor that simply reading another book and being left to work out the why's and where's yourself. Depending on your experience and situation, some of the advice may be well known to you already and not all it may be applicable to you (read the index). But I suspect few potential readers will already have the full breadth of the knowledge presented here. For those looking to get a little bit deeper into the language, simply looking to improve their skills or draw from the authors experience this book should be a useful guide. It also discusses many of the new features introduced in .net 4.0 including PLINQ, Dynamic types, etc.
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know
ARRAY(0xa7ca4024)

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Look for similar items by category


Feedback