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

Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 


or
Sign in to turn on 1-Click ordering
More Buying Choices
Have one to sell? Sell yours here
Start reading C# 4.0 in a Nutshell: The Definitive Reference on your Kindle in under a minute.

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

C# 4.0 in a Nutshell: The Definitive Reference (In a Nutshell (O'Reilly)) [Paperback]

Joseph Albahari , Ben Albahari
4.7 out of 5 stars  See all reviews (38 customer reviews)

List Price: $49.99
Price: $32.48 & FREE Shipping on orders over $35. Details
You Save: $17.51 (35%)
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 on July 12, 2014.
Order it now.
Ships from and sold by Amazon.com. Gift-wrap available.
Free Two-Day Shipping for College Students with Amazon Student

Formats

Amazon Price New from Used from
Kindle Edition $22.99  
Paperback $32.48  
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
There is a newer edition of this item:
C# 5.0 in a Nutshell: The Definitive Reference C# 5.0 in a Nutshell: The Definitive Reference 4.8 out of 5 stars (75)
$33.41
In Stock.

Book Description

February 13, 2010 0596800959 978-0596800956 Fourth Edition

What people are saying about C# 4.0 in a Nutshell

"C# 4.0 in a Nutshell is one of the few books I keep on my desk as a quick reference. It is a book I recommend." --Scott Guthrie, Corporate Vice President, .NET Developer Platform, Microsoft Corporation

"A must-read for a concise but thorough examination of the parallel programming features in the .NET Framework 4." --Stephen Toub, Parallel Computing Platform Program Manager, Microsoft

"This wonderful book is a great reference for developers of all levels." -- Chris Burrows, C# Compiler Team, Microsoft

When you have questions about how to use C# 4.0 or the .NET CLR, this highly acclaimed bestseller has precisely the answers you need. Uniquely organized around concepts and use cases, this fourth edition includes in-depth coverage of new C# topics such as parallel programming, code contracts, dynamic programming, security, and COM interoperability. You'll also find updated information on LINQ, including examples that work with both LINQ to SQL and Entity Framework. This book has all the essential details to keep you on track with C# 4.0.

  • Get up to speed on C# language basics, including syntax, types, and variables
  • Explore advanced topics such as unsafe code and preprocessor directives
  • Learn C# 4.0 features such as dynamic binding, type parameter variance, and optional and named parameters
  • Work with .NET 4's rich set of features for parallel programming, code contracts, and the code security model
  • Learn .NET topics, including XML, collections, I/O and networking, memory management, reflection, attributes, security, and native interoperability

Frequently Bought Together

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

One of these items ships sooner than the other.

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 (O'Reilly)
  • Paperback: 1060 pages
  • Publisher: O'Reilly Media; Fourth Edition edition (February 13, 2010)
  • Language: English
  • ISBN-10: 0596800959
  • ISBN-13: 978-0596800956
  • Product Dimensions: 2.2 x 5.8 x 8.7 inches
  • Shipping Weight: 3 pounds (View shipping rates and policies)
  • Average Customer Review: 4.7 out of 5 stars  See all reviews (38 customer reviews)
  • Amazon Best Sellers Rank: #219,382 in Books (See Top 100 in Books)

More About the Authors

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

Customer Reviews

Most Helpful Customer Reviews
44 of 46 people found the following review helpful
5.0 out of 5 stars A no nonsense approach to covering the C# 4.0 language 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 ›
Was this review helpful to you?
16 of 17 people found the following review helpful
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 ›
Was this review helpful to you?
14 of 15 people found the following review helpful
4.0 out of 5 stars Very complete as reference 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?
5 of 5 people found the following review helpful
5.0 out of 5 stars The Quintessential C# 4.0 Reference 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?
Most Recent Customer Reviews
5.0 out of 5 stars now we have version 5 of C#
But they'll make another good book. There's lots of new features to discover. Very helpful and I'd like them to see if they could write a PowerShell book.
Published 1 month ago by Randel J. Morgan
5.0 out of 5 stars The Definitive Practical Guide and Reference
The title of the book is a bit misleading, because the focus is on .NET and the CLR framework rather than on C#, which is covered in the first few chapters. Read more
Published 4 months ago by A. Mason
5.0 out of 5 stars This book got me programming
This is a good C# reference and was the most helpful C# book I have used. I found several other books to be useless to me. so I may be a hard sell. Read more
Published 5 months ago by John Malone
5.0 out of 5 stars An absolutely indispensible book
I've been a programmer for 30 years, and I always rely on the nutshell books. This is no exception. It's extremely thorough, very well organized and extremely complete and... Read more
Published 6 months ago by Roger Pease
5.0 out of 5 stars Great Reference for the C# 4
The book is an excellent reference for C# 4 and also makes an attempt to explain some parts of the language features through good examples. Read more
Published 6 months ago by Vimal Kumar Chowdhry
4.0 out of 5 stars Great seller!
This is a great book. Little banged up by the time it reached me, it was mailed in a bubble mailer.
Published 7 months ago by Mike
5.0 out of 5 stars C# great reference
I started learning Visual Studio 2010 C# and I'm finding in this book most answers I need (more often than in some other books I used). Read more
Published 8 months ago by Matija Previc
5.0 out of 5 stars Great way for programmers to learn C#
This is not a book for people learning to code. It assumes that you have a decent understanding of OO, reference vs value types, etc. Read more
Published 10 months ago by Rob R.
2.0 out of 5 stars Review of the first 1/2 of book
People really seem to love this book; unfortunately I'm not one of them... Yes, Im a "negative Nancy", and i usually only write review as warnings to others. Read more
Published 22 months ago by uofakron
5.0 out of 5 stars Review of C# In a Nutshell, In a Nutshell
Book Review - C# In a Nutshell, The Definitive Reference, Albahari, Joseph & Ben. O'Reilly

First of all, it should be noted that this book is 995 packed pages of slow... Read more
Published 23 months ago by zave
Search Customer Reviews
Search these reviews only

What Other Items Do Customers Buy After Viewing This Item?


Forums

Search Customer Discussions
Search all Amazon discussions

Topic From this Discussion
C# 3.0 book versus C# 4.0 book
C# 4.0 in a Nutshell comprises the same content as C# 3.0 in a Nutshell + an extra 200 pages of material. We've taken good care not to "break" the previous edition (although we've made numerous minor enhancements, and brought everything up-to-date in regard to C# 4.0).

Joe Albahari...
Jan 16, 2010 by Joseph Albahari |  See all 6 posts
Beginners welcome?
If you're not already experienced in another OO programming language (such as Java, Delphi or C++), you'll need to use this book in conjunction with a tutorial such as Head First C#.
Mar 28, 2010 by Joseph Albahari |  See all 2 posts
Start a new discussion
Topic:
First post:
Prompts for sign-in
 




Look for Similar Items by Category