Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your email address or mobile phone number.

C# 4.0 in a Nutshell: The Definitive Reference Fourth Edition Edition

4.7 out of 5 stars 45 customer reviews
ISBN-13: 978-0596800956
ISBN-10: 144938045X
Why is ISBN important?
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Have one to sell? Sell on Amazon
Buy used On clicking this link, a new layer will be open
$6.03 On clicking this link, a new layer will be open
Buy new On clicking this link, a new layer will be open
$49.99 On clicking this link, a new layer will be open
More Buying Choices
27 New from $5.77 57 Used from $1.74

There is a newer edition of this item:

Free Two-Day Shipping for College Students with Amazon Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student

Save Up to 90% on Textbooks Textbooks
$49.99 FREE Shipping. Temporarily out of stock. Order now and we'll deliver when available. We'll e-mail you with an estimated delivery date as soon as we have more information. Your account will only be charged when we ship the item. Ships from and sold by Amazon.com. Gift-wrap available.

Frequently Bought Together

  • C# 4.0 in a Nutshell: The Definitive Reference
  • +
  • Programming C# 4.0: Building Windows, Web, and RIA Applications for the .NET 4.0 Framework (Animal Guide)
Total price: $84.43
Buy the selected items together

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.


Product Details

  • Series: In a Nutshell
  • Paperback: 1060 pages
  • Publisher: O'Reilly Media; Fourth Edition edition (February 10, 2010)
  • Language: English
  • ISBN-10: 144938045X
  • ISBN-13: 978-0596800956
  • ASIN: 0596800959
  • Product Dimensions: 6.1 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 (45 customer reviews)
  • Amazon Best Sellers Rank: #255,224 in Books (See Top 100 in Books)

More About the Authors

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

Customer Reviews

Top Customer Reviews

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 46 of 48 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
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 16 of 17 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
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 15 of 16 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
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 5 of 5 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Most Recent Customer Reviews