C# 4.0 in a Nutshell, 4th Edition
The Definitive Reference
Publisher: O'Reilly Media
Final Release Date: January 2010
Pages: 1060

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
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
O'Reilly MediaC# 4.0 in a Nutshell, 4th Edition
 
5.0

(based on 4 reviews)

Ratings Distribution

  • 5 Stars

     

    (4)

  • 4 Stars

     

    (0)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Easy to understand (4)
  • Accurate (3)
  • Concise (3)
  • Helpful examples (3)
  • Well-written (3)

Cons

    Best Uses

    • Expert (3)
    • Intermediate (3)
    • Novice (3)
    • Student (3)
      • Reviewer Profile:
      • Developer (3)

    Reviewed by 4 customers

    Sort by

    Displaying reviews 1-4

    Back to top

     
    5.0

    Definitive C# Desk Reference

    By Daniel

    from Beaumont Ca

    About Me Everyday Reader

    Verified Reviewer

    Pros

    • Deserves Multiple Readings
    • Easy To Understand
    • Informative
    • Relevant
    • Well Written

    Cons

      Best Uses

      • Reference

      Comments about O'Reilly Media C# 4.0 in a Nutshell, 4th Edition:

      This book is the definitive desk reference for the C# language. Whether you are a beginner or a seasoned C# programmer this book is a definite must. The book is laid out in a way making it readable from beginning to end building upon concepts and explained syntaxes, or as a reference guide that can explain a concept on it's own if looked up directly.

      The coding examples are usually easy to follow and understand and simply abstract the concept they are explaining.

      This book covers all of the new features in C# 4.0 – the items I found most interesting were code contracts, truples, optional parameters.

      Weighing in at over 1000 pages – the book can be a little overwhelming, but once you dive into it you find that the subject matter flows well and is not over presented. There is just that much to know about C#. And even if you have been programming in C# for years there is really no chance you know it all.

      So pick up this book and find out what you didn't know.

      (1 of 2 customers found this review helpful)

       
      5.0

      Complete

      By MikeC

      from New York

      About Me Developer

      Pros

      • Accurate
      • Concise
      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

        Best Uses

        • Expert
        • Intermediate
        • Novice
        • Student

        Comments about O'Reilly Media C# 4.0 in a Nutshell, 4th Edition:

        Has everything. Even though it can be used as a reference, it's written in a way to make it an interesting read too. It has its dry spots but considering the depth and breadth of the subject mater covered, thats pretty much unavoidable.

        (8 of 8 customers found this review helpful)

         
        5.0

        A must have C# Reference Book!

        By ReefWizard

        from Waynesville, NC

        About Me Designer, Developer, Educator

        Verified Reviewer

        Pros

        • Accurate
        • Concise
        • Easy to understand
        • Helpful examples
        • Well-written

        Cons

        • Needs a better index

        Best Uses

        • Expert
        • Intermediate
        • Novice
        • Student

        Comments about O'Reilly Media C# 4.0 in a Nutshell, 4th Edition:

        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. 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.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.

        (8 of 8 customers found this review helpful)

         
        5.0

        Superb!

        By Mitch Wheat

        from Perth, WA

        About Me Developer

        Verified Reviewer

        Pros

        • Accurate
        • Concise
        • Easy to understand
        • Helpful examples
        • Well-written

        Cons

        • Index is quite bad

        Best Uses

        • Expert
        • Intermediate
        • Novice
        • Student

        Comments about O'Reilly Media C# 4.0 in a Nutshell, 4th Edition:

        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.

        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 here at the O'Reilly site. Many thanks to Joe and Ben for writing such a useful book.

        Displaying reviews 1-4

        Back to top

         
        Buy 2 Get 1 Free Free Shipping Guarantee
        Buying Options
        Immediate Access - Go Digital what's this?
        Ebook: $39.99
        Formats:  APK, DAISY, ePub, Mobi, PDF
        Print & Ebook: $54.99
        Print: $49.99