Start reading Effective C# on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here.

Deliver to your Kindle or other device

 
 
 

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Read books on your computer or other mobile devices with our FREE Kindle Reading Apps.
Effective C# (Covers C# 4.0): 50 Specific Ways to Improve Your C# (2nd Edition) (Effective Software Development Series)
 
 

Effective C# (Covers C# 4.0): 50 Specific Ways to Improve Your C# (2nd Edition) (Effective Software Development Series) [Kindle Edition]

Bill Wagner
3.0 out of 5 stars  See all reviews (6 customer reviews)

Digital List Price: £22.66 What's this?
Print List Price: £28.99
Kindle Price: £14.51 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £14.48 (50%)
Unlike print books, digital books are subject to VAT.

Formats

Amazon Price New from Used from
Kindle Edition £14.51  
Paperback £22.67  

Customers Who Bought This Item Also Bought


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

Product Description

This is the eBook version of the printed book.

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.


Product details

  • Format: Kindle Edition
  • File Size: 6128 KB
  • Print Length: 352 pages
  • Publisher: Addison-Wesley Professional; 2 edition (5 Mar 2010)
  • Sold by: Amazon Media EU S.à r.l.
  • Language English
  • ASIN: B003BXRNZI
  • Text-to-Speech: Enabled
  • Average Customer Review: 3.0 out of 5 stars  See all reviews (6 customer reviews)
  • Amazon Bestsellers Rank: #130,399 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?


More About the Authors

Discover books, learn about writers, and more.

What Other Items Do Customers Buy After Viewing This Item?


Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organise and find favourite items.
Your tags: Add your first tag
 

Customer Reviews

Most Helpful Customer Reviews
11 of 12 people found the following review helpful
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?
3 of 3 people found the following review helpful
Format:Paperback
Here are my reviews:

1. Too many errors and Errata not available:
This book has far too many errors, most of which are in sample code. I have just read 2 items: Item 3 and Item 5. There are 7 errors in less than 20 pages! Some of these are obvious, some are hidden. I guess most of these error are from editing and publishing rather than the author. However, no matter where the errors are from, they do make huge impact on trustbility of the booking. In addition, the errata site refered by the author does not have any information about it! Shocking!

2. Interesting topics:
The topics in the booking are interesting. You will learn a lot of best practices and patterns in using C# effectively.

3. Expression:
I have to say some of the expressions are not clearly enough and not in logical way. You sometimes have to make your mind jump because the points with an item may not be related in a logical way.

Overall, the information in the book as a whole is quite practical and helpful for your professional C#. However, you do have to stand the errors and not fully trust the samples and statements in the booking. C# in Depth by Jon Skeet is a much much better alt..
Comment | 
Was this review helpful to you?
3 of 3 people found the following review helpful
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?

Popular Highlights

 (What's this?)
&quote;
Always create an override of ValueType.Equals() whenever you create a value type. &quote;
Highlighted by 49 Kindle users
&quote;
Updating the value of a public constant should be viewed as an interface change. You must recompile all code that references that constant. Updating the value of a read-only constant is an implementation change; it is binary compatible with existing client code. &quote;
Highlighted by 47 Kindle users
&quote;
Inheritance means is a, and interfaces means behaves like. &quote;
Highlighted by 44 Kindle users

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


Look for similar items by subject


Amazon Media EU S.à r.l. GB Privacy Statement Amazon Media EU S.à r.l. GB Delivery Information Amazon Media EU S.à r.l. GB Returns & Exchanges