Programming Books C Java PHP Python Learn more Browse Programming Books
C# 4.0 in a Nutshell: The Definitive Reference and over one million other books are available for Amazon Kindle. Learn more
  • List Price: $49.99
  • Save: $17.51 (35%)
FREE Shipping on orders over $35.
Only 8 left in stock (more on the way).
Ships from and sold by
Gift-wrap available.
C# 4.0 in a Nutshell: The... has been added to your Cart
Condition: Used: Good
Comment: A little worn but still in good overall condition.
Access codes and supplements are not guaranteed with used items.
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

C# 4.0 in a Nutshell: The Definitive Reference Paperback – February 13, 2010

ISBN-13: 978-0596800956 ISBN-10: 0596800959 Edition: Fourth Edition

Buy New
Price: $32.48
33 New from $23.40 41 Used from $1.81
Amazon Price New from Used from
"Please retry"
"Please retry"
$23.40 $1.81

There is a newer edition of this item:


Frequently Bought Together

C# 4.0 in a Nutshell: The Definitive Reference + C# 4.0 Pocket Reference (Pocket Reference (O'Reilly))
Price for both: $44.56

Buy the selected items together

Hero Quick Promo
Save up to 90% on Textbooks
Rent textbooks, buy textbooks, or get up to 80% back when you sell us your books. Shop Now

Product Details

  • Series: In a Nutshell
  • Paperback: 1060 pages
  • Publisher: O'Reilly Media; Fourth Edition edition (February 13, 2010)
  • Language: English
  • ISBN-10: 0596800959
  • ISBN-13: 978-0596800956
  • Product Dimensions: 6 x 2.2 x 9 inches
  • Shipping Weight: 3 pounds (View shipping rates and policies)
  • Average Customer Review: 4.7 out of 5 stars  See all reviews (41 customer reviews)
  • Amazon Best Sellers Rank: #753,943 in Books (See Top 100 in Books)

Editorial Reviews

Book Description

Covers CLR 4.0

About the Author

Joseph Albahari is author of C# 3.0 in a Nutshell, LINQ Pocket Reference, and C# 3.0 Pocket Reference. He has been developing large-scale enterprise applications on .NET and other platforms for more than 15 years, and is author of LINQPad - the popular utility for querying databases in LINQ.

Joseph is currently a freelance consultant.

Joseph's Home Page

Ben Albahari is the founder of Take On It. He was a Program Manager at Microsoft for 5 years, where he worked on several projects, including the .NET Compact Framework and ADO.NET.

He was the cofounder of Genamics, a provider of tools for C# and J++ programmers, as well as software for DNA and protein sequence analysis. He is a co-author of C# Essentials, the first C# book from O'Reilly, and of previous editions of C# in a Nutshell.

More About the Authors

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

Customer Reviews

4.7 out of 5 stars
5 star
4 star
3 star
2 star
1 star
See all 41 customer reviews
It's extremely thorough, very well organized and extremely complete and readable.
Roger Pease
Then you should buy it now, honestly I have read only a handful of programming books and this one I could not put down.
The book covers most topics and provides good examples of how to use what it describes.
John Malone

Most Helpful Customer Reviews

45 of 47 people found the following review helpful By T. Anderson TOP 1000 REVIEWERVINE VOICE on February 1, 2010
Format: Paperback Verified Purchase
This book is great. It's no nonsense approach to covering the C# 4.0 language is like a breath of fresh air. It is clean, to the point, and thorough. It makes finding a topic, and learning it, or getting a refresher, a very fast process.

This new version includes new chapters on parallel programming (including PLINQ), and dynamic programming, and new sections on code contracts and COM interoperability.

The authors have a great writing style which makes the book a very enjoyable read. You can read this cover to cover, or use it as a very handy reference. You won't find any case studies, or made up scenarios, to help the authors describe the technology. They stick to writing about the technology, which is nice.

One of my favorite features of the book is the way the authors do their diagramming. They include a lot of diagrams that give a visual representation of the feature they are describing. The diagrams really help with getting a quick understanding of the overall picture of the topic. The authors also demonstrate with code that is always easy to understand and within the scope of the topic at hand. You don't have 2 pages of code with 3 lines highlighted.

Another part of this book I love is the way the authors deliver the code samples using LINQPad. I own the full auto completion version of LINQPad and it rocks. I have been using it since its first release and it has become my favorite tool when working with databases.

My only complaint about the book is the construction. The gluing job they did is horrible. It has big clumps of glue embedded in the pages which cause the binder to really bend. It will probably fall apart within a month of heavy use. I won't ding the book for that.
Read more ›
2 Comments Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
16 of 17 people found the following review helpful By Mitchell Wheat on February 9, 2010
Format: Paperback
I'd normally put a disclosure at the end of a post, but as I was one of the reviewers for this book, and Joe Albahari gave me a copy, I felt I should mention this up-front.

That said, it doesn't alter my opinion: if you program in C#, you owe it to yourself to have a copy of this book to hand. It will improve your understanding of C# and the .NET framework; it will improve the code you write and I suspect it will pay for itself the first time you pick it up.

This just released fourth edition is expanded upon the previous, and at slightly over 1000 pages I'm not sure how much longer the 'nutshell' tag will be appropriate! (Not the fault of the authors, more the evolution of C# into a mature language with many features). It includes coverage of new topics such as parallel programming, code contracts, dynamic programming, security, and COM interoperability. In all, there are 26 chapters covering the basics right through to the more advanced topics of threading and parallel programming. There is a comprehensive section on LINQ, including examples that work with both LINQ to SQL and Entity Framework.

The code examples and explanations are concise, extremely clear and easy to understand. The code examples from Chapters 2 - 4, 6, 8 - 10 and 24 are freely available as part of LINQPad, a very useful tool written by author Joe Albahari (and downloadable from [...])

I'm a fan of the format O'Reilly use in their books, and in particular it seems like it could have almost been created with this book's authors in mind, as it complements their lucid writing style and aids the flow of the text . Very few books could proclaim on the front cover that they are "The Definitive Reference" and it actually be true. This book does and is. But it's not just a reference.
Read more ›
1 Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
15 of 16 people found the following review helpful By Light Crystal on April 17, 2010
Format: Paperback Verified Purchase
This book is not for learning to program.
Is a very good complement for medium/experienced programmers.

Very complete in all aspects, if you want a reference to have on your desk, but if you want lo learn how to program this is not for you, study another C# book first and then this to master the subject.

4 Stars instead of 5 only for the "design".
Code is in italic style but not very highlighted from the rest of the text, it seems "all a unique block" in some pages. Only few images.
I appreciate the LinqPad and external examples.

Other books have colors in "Visual Studio style", or have at least a light grey background behind code paragraphs.
Hope for colors in next version of this book.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
5 of 5 people found the following review helpful By Dotnetsky on April 8, 2010
Format: Paperback
Some time ago, I reviewed this book's predecessor, "C# 3.0 in a Nutshell" and gave it high marks. My copy of that one is now dog-eared and actually has pages falling out from so much use over the last year or so.

The C# 3.0 edition had 838 pages including the index - this new volume has 1,023 pages! Like it's predecessor, the book is organized entirely around concepts and use cases, which makes it friendly to both sequential reading and random browsing. It covers C#, the CLR, and the core Framework assemblies. Features that are new to C# 4.0 are flagged so that the book can also serve as an excellent C# 3.0 reference.

This book, just like it's previous edition, is truly one of the most comprehensive volumes targeted at intermediate to advanced audiences that you will ever find, from any publisher. It reads more like a programmer's reference, and would complement more tutorial-style books.

C# 4.0 In a Nutshell contains over 100 pages dedicated to the new features of C# 4.0 and Framework 4.0. Many chapters have been enhanced over previous editions, including chapters on the C# language, .NET Framework fundamentals, memory management, threading and COM Interop. In addition, the LINQ chapters have been updated to cover both LINQ to SQL and the Entity Framework.

For Chapters 2 through 4, 6, 8 though 10, and Chapter 24, the code samples are available in the free LINQPad "IDE". I've been using LINQPad for quite some time, and I can state categorically that even if you do not purchase this book, go download a copy for yourself - its truly an amazing and very helpful application. Joe and Ben Albahari also have additional valuable companion information and articles on their web site.

C# 4.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews

What Other Items Do Customers Buy After Viewing This Item?