or
Sign in to turn on 1-Click ordering
More Buying Choices
Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

The Elements of C# Style [Paperback]

Kenneth Baldwin , Andrew Gray , Trevor Misfeldt
4.6 out of 5 stars  See all reviews (9 customer reviews)

List Price: $17.99
Price: $14.76 & FREE Shipping on orders over $25. Details
You Save: $3.23 (18%)
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
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it Tuesday, May 28? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Formats

Amazon Price New from Used from
Paperback, Bargain Price $5.71  
Paperback, July 31, 2006 $14.76  
Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

July 31, 2006 0521671590 978-0521671590 1
The Elements of C# Style is for all C# practitioners, especially those working in teams where consistency is critical. Like previous Elements titles, the text furnishes a set of rules for writing clear, comprehensible and easy-to maintain code; this time for C#. The authors offer a collection of standards and guidelines for creating solid C# that can save time, effort and expense. The book provides conventions for:
- formatting
- naming
- documentation
- programming
- packaging
for C# 2.0 and includes discussion of advanced topics such as generics.

Frequently Bought Together

The Elements of C# Style + Effective C#  (Covers C# 4.0): 50 Specific Ways to Improve Your C# (2nd Edition) (Effective Software Development Series)
Price for both: $37.29

Buy the selected items together


Editorial Reviews

Review

'The Elements of Java Style is perfect in what it tries to achieve. Each rule is sensible, hardly any are debatable, and there is no excuse for ignoring any of them.' JavaZone Book of the Week

Book Description

The Elements of C# Style is for all C# practitioners, especially those working in teams where consistency is critical. The authors offer a collection of standards and guidelines for creating solid C# code that will be easy to understand, enhance and maintain.

Product Details

  • Paperback: 156 pages
  • Publisher: Cambridge University Press; 1 edition (July 31, 2006)
  • Language: English
  • ISBN-10: 0521671590
  • ISBN-13: 978-0521671590
  • Product Dimensions: 4.5 x 0.6 x 6.9 inches
  • Shipping Weight: 4.8 ounces (View shipping rates and policies)
  • Average Customer Review: 4.6 out of 5 stars  See all reviews (9 customer reviews)
  • Amazon Best Sellers Rank: #1,223,813 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

4.6 out of 5 stars
(9)
4.6 out of 5 stars
Overall it is probably one of the best books I have ever invested in to improve my programming quality. Robert L. Pierce  |  2 reviewers made a similar statement
It is a set of suggestions, and if you read it with that in mind, you will find this book of value. Charles Ashbacher  |  1 reviewer made a similar statement
Follows industry best practices nicely. T. Surace  |  2 reviewers made a similar statement
Most Helpful Customer Reviews
10 of 11 people found the following review helpful
4.0 out of 5 stars Small in size, large in content June 30, 2004
Format:Paperback
This book is too small to be used as a physical weapon in the "style wars." Nevertheless, it is large in terms of content. Nearly all of the areas of style differences and disputes are covered. The authors do a good job in presenting their solutions to style difference problems without resorting to evangelical techniques. They express their opinions, justify them and then move on to the next style issue. Small segments of code, demonstrating both the right and wrong ways, are used to illustrate the point.
The issues are placed into several groups:

* General principles.
* Formatting conventions.
* Naming conventions.
* Programming principles.
* Programming conventions.
* Packaging conventions.

The 175 style issues are summarized into a set of short rules at the end of the book, which makes it easier to find specific elements.
This book is not a bible, setting down the commandments for the proper style to be used in creating C++ code. It is a set of suggestions, and if you read it with that in mind, you will find this book of value.

Comment | 
Was this review helpful to you?
9 of 10 people found the following review helpful
5.0 out of 5 stars All the "elements" of a great book January 14, 2007
By David
Format:Paperback|Amazon Verified Purchase
If you are new to C# or are wanting to start writing cleaner, more efficient, more professional, and just plain smarter code, this is a must-read. These guys definitely know their stuff and give some excellent tips. It's light and quick-read, easy to pick up and read a bit during down times, short enough to power through in one sitting, and serves as a great reference. For the money, this is one of the best books I've bought in a long time.
Comment | 
Was this review helpful to you?
3 of 3 people found the following review helpful
5.0 out of 5 stars A necessity for any professional C# programmer February 15, 2008
Format:Paperback
Some of this was review, some reminders, some teaching. Overall it is probably one of the best books I have ever invested in to improve my programming quality.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
5.0 out of 5 stars Great tips for improving your code readability and effectiveness
I'm trying to become more of a productive programmer and code readability is an element to it.
So I searched through collection of programming book at my university library... Read more
Published 17 months ago by Larry Battle
5.0 out of 5 stars Exactly what I was looking for.
Clearly documented and concise. Follows industry best practices nicely. A good choice if you're looking for a standard style for your team. Read more
Published 24 months ago by T. Surace
4.0 out of 5 stars Essential book.
This is a very good book, and has made a huge difference for our software development team. We don't agree with all the style rules, but the exceptions are few.
Published on September 12, 2009 by M. McKnight
3.0 out of 5 stars Helpful to have around
If anyone ever told you that your code was ugly, then this book is for you. If you want the correct way to implement the IDisposable interface, or construct a singleton object in... Read more
Published on October 3, 2008 by Stephen J. Staurovsky
5.0 out of 5 stars Indispensable Tool
I've been working with C# since before it was in pre-release, and I still find myself cracking this book open a couple of times a week to look over the formatting recommendations... Read more
Published on December 12, 2007 by Rhy Mednick
5.0 out of 5 stars An essential programmer's guide
Packed into a deceptively-diminutive size paperback package is an essential programmer's guide which should be a reference bible for all C++ programmers: a survey of the basic... Read more
Published on December 12, 2004 by Midwest Book Review
Search Customer Reviews
Only search this product's reviews

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Listmania!


So You'd Like to...


Create a guide


Look for Similar Items by Category