or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
More Buying Choices
35 used & new from $26.46

Have one to sell? Sell yours here

or

Get a $17.00 Amazon.com Gift Card
 
   
C# 4.0 in a Nutshell: The Definitive Reference
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get your Kindle here.
 
  

C# 4.0 in a Nutshell: The Definitive Reference (Paperback)

~ Joseph Albahari (Author), Ben Albahari (Author)
5.0 out of 5 stars  See all reviews (3 customer reviews)

List Price: $49.99
Price: $31.49 & this item ships for FREE with Super Saver Shipping. Details
You Save: $18.50 (37%)
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 delivered Friday, March 12? Choose One-Day Shipping at checkout. Details
23 new from $27.99 12 used from $26.46

Frequently Bought Together

C# 4.0 in a Nutshell: The Definitive Reference + CLR via C# (Pro-Developer) + Pro C# 2010 and the .NET 4.0 Platform, Fifth Edition
Total List Price: $169.97
Price For All Three: $107.07

Some of these items ship sooner than the others. Show details

  • This item: C# 4.0 in a Nutshell: The Definitive Reference by Ben Albahari

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • CLR via C# (Pro-Developer) by Jeffrey Richter

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Pro C# 2010 and the .NET 4.0 Platform, Fifth Edition by Andrew Troelsen

    This title has not yet been released.
    You may pre-order it now and we will deliver it to you when it arrives.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought


Editorial Reviews

Product Description

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

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

  • Paperback: 1056 pages
  • Publisher: O'Reilly Media; 4 edition (January 26, 2010)
  • Language: English
  • ISBN-10: 0596800959
  • ISBN-13: 978-0596800956
  • Product Dimensions: 8.9 x 6 x 2 inches
  • Shipping Weight: 2.7 pounds (View shipping rates and policies)
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (3 customer reviews)
  • Amazon.com Sales Rank: #3,856 in Books (See Bestsellers in Books)

    Popular in these categories: (What's this?)

    #1 in  Books > Computers & Internet > Microsoft > Development > Visual Basic > C#
    #3 in  Books > Computers & Internet > Programming > Languages & Tools > C#

More About the Authors

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

Inside This Book (learn more)
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(3)
(2)

Your tags: Add your first tag
 

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

 

Customer Reviews

3 Reviews
5 star:
 (3)
4 star:    (0)
3 star:    (0)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
5.0 out of 5 stars (3 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
4 of 5 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
Amazon Verified Purchase(What's this?)
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. It is a publisher issue, not an author issue.

All in all I highly recommend this book. It belongs on the shelf of any serious developer.

Review Update-
The editor of C# 4.0 in a Nutshell Book read my blog and suggested I contact O'Reilly Media for a new copy since my binder was a mess.

They made good on the request for a new copy of the C# 4.0 in a Nutshell Book and I received it today with the binder in perfect condition. No glue blobs in between any pages. Hats off to O'Reilly Media!!!!!
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
2 of 3 people found the following review helpful:
5.0 out of 5 stars If you program in C#, you owe it to yourself to have a copy of this book to hand, February 9, 2010
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. It will benefit newcomers and seasoned developers alike.

The only disappointing thing is the Index. Joe informed me that he knew about this; it seems something went awry during the publishing process, and a less than stellar index was included. Let's hope that future reprints have an updated index. There is of course a searchable electronic version available.

It would be pointless to go into any more detail, as I would no doubt be unable to the book the justice it deserves. A full contents list is available at the O'Reilly link above.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
0 of 1 people found the following review helpful:
5.0 out of 5 stars A must have reference for C# 4.0 developers!, February 23, 2010
By J. K. Stiles "Tech guru" (Waynesville, NC United States) - See all my reviews
(REAL NAME)   
Without a doubt, O'Reilly Media produces many of the finest information technology books on the market. Whether your need is beginner's level introductions to information technologies or are a more advanced programmer in need of more complex and refined topics, O'Reilly has a book that can meet diverse needs of an audience often with vastly wide-ranging skill levels. One of their numerous series of books are the Nutshell series which their website describes as "topical quick-reference guides that document every nook and cranny of a topic or technology area . . . Designed to be daily companions, these books belong next to your keyboard, at the ready when you need a quick answer" ([...]). Having used a couple of the Nutshell selections for a couple of years, I have to say that this description perfectly fits these books. They are not really a book you sit and read cover to cover.

The text contains twenty-six chapters covering all elements of C# 4.0 (a table of contents is available at [...]). However, the book covers "features new to C# 4.0 and the associated Framework are flagged so that you can also use this book as a C# 3.0 reference" (Albahari & Albahari, 2010). This fourth edition of the book covers the significant new feature set being provided in C# 4.0 including dynamic binding, type variance with generic interfaces and delegates, optional parameters, named arguments, and COM interoperability improvements.

The first three chapters of the text concentrate purely on C# covering the basics of syntax, types, and variables. This front content finishes with advanced topics including unsafe code and preprocessor directives. New C# users should read all three of these chapters sequentially to gain the foundational understanding of the language before moving into the remaining chapters that cover the core .NET Framework including such topics as LINQ, XML, collections, I/O and networking, memory management, reflection, dynamic programming, attributes, security, concurrency, application domains, and native interoperability. For new C# programmers, chapters six and seven (Framework Fundamentals and Collections) should also be read sequentially as they are integral concepts. The text also contains three chapters covering LINQ that should be read sequentially (LINQ Queries, LINQ Operators, and LINQ to XML).

As I examined this book, I realized that it would serve as an excellent quick reference for developers of all levels. However, the book is targeted at intermediate to advanced audiences. For beginners who make the wise decision to include this book in their library, it will serve as an exceptionally useful complement to a tutorial-style instruction to programming in C# 3.0 or 4.0. It will also serve as an ideal companion to books focusing on applied technology such as WPF, ASP.NET, or WCF. In fact, this book should be a required supplementary text for beginning students in C# 3.0 or 4.0 programming classes.

To work the code examples (especially those specific to C# 4.0) you will need the following software tools and documentation:

* C# 4.0 Compiler
* Microsoft .NET Framework 4.0
* Microsoft's .NET documentation

All three of these items are available in Microsoft® Visual Studio 2010 which includes an express edition of Microsoft SQL Server®. SQL Server is required to run the LINQ to SQL and Entity Framework examples in the text, and includes IntelliSense. Currently, Visual Studio 2010 is available as a download from the Microsoft web page in a Release Candidate version ([...]). Official launch events for Visual Studio 2010 are scheduled for April 12th.

I would highly recommend this book to anyone interested in developing applications using C# 4.0. In fact, if you develop in C#, your library or bookshelf should not be missing this book. Clear concise examples, a great writing style, and wonderful diagrams of key concepts just add to the overall value of this book. Add to that the fact that you can use this book as a resource for C# 3.0 and it is a no brainer! Another excellent work from the O'Reilly team.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
C# 3.0 book versus C# 4.0 book 4 1 month ago
See all discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
   


Listmania!

Create a Listmania! list

So You'd Like to...


Create a guide

Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

Ad
 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.