Programming C# 4.0
Building Windows, Web, and RIA Applications for the .NET 4.0 Framework
Publisher: O'Reilly Media
Final Release Date: July 2010
Pages: 858

With its support for dynamic programming, C# 4.0 continues to evolve as a versatile language on its own. But when C# is used with .NET Framework 4, the combination is incredibly powerful. This bestselling tutorial shows you how to build web, desktop, and rich Internet applications using C# 4.0 with .NET's database capabilities, UI framework (WPF), extensive communication services (WCF), and more.

In this sixth edition, .NET experts Ian Griffiths, Matthew Adams, and Jesse Liberty cover the latest enhancements to C#, as well as the fundamentals of both the language and framework. You'll learn concurrent programming with C# 4.0, and how to use .NET tools such as the Entity Framework for easier data access, and the Silverlight platform for browser-based RIA development.

  • Learn C# fundamentals, such as variables, flow control, loops, and methods
  • Build complex programs with object-oriented and functional programming techniques
  • Process large collections of data with the native query features in LINQ
  • Communicate across networks with Windows Communication Foundation (WCF)
  • Learn the advantages of C# 4.0's dynamic language features
  • Build interactive Windows applications with Windows Presentation Foundation (WPF)
  • Create rich web applications with Silverlight and ASP.NET
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
O'Reilly MediaProgramming C# 4.0
 
2.7

(based on 9 reviews)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (3)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (2)

  • 1 Stars

     

    (3)

44%

of respondents would recommend this to a friend.

Pros

  • Accurate (3)
  • Helpful examples (3)

Cons

No Cons

Best Uses

  • Intermediate (4)
    • Reviewer Profile:
    • Developer (9), Designer (3)

Reviewed by 9 customers

Sort by

Displaying reviews 1-9

Back to top

 
1.0

not presented well

By zprg

from India

About Me Developer

Pros

    Cons

    • Difficult to understand

    Best Uses

      Comments about O'Reilly Media Programming C# 4.0:

      One can easily lose interest after flipping through a few pages. There is nothing interesting about this book that will keep the reader engaged.

       
      2.0

      Sloppy Code

      By Michael

      from Santa Rosa, CA

      About Me Designer, Developer

      Pros

        Cons

          Best Uses

            Comments about O'Reilly Media Programming C# 4.0:

            I think Jesse Liberty is a good writer but this book is a miss due to sloppy code. It is object oriented code by design. This book shows code examples that bypass most of the ideas of object oriented programming. Delegate document processing - for example. Let's make everything static and make properties pointless. I was confused about a few things thinking surely they don't mean x. So i downloaded the code (which is irritating the final code is not in the book (bits a piece scatter throughout several pages) so i could easily see the entire example in one place) and sure enough - they meant x. Why not write code the follows good OOP practices regardless of the point being made?

            (2 of 2 customers found this review helpful)

             
            4.0

            Great Reference

            By GMoneyESPN

            from Bristol, CT

            About Me Developer

            Verified Reviewer

            Pros

            • Accurate
            • Helpful examples
            • Well-written

            Cons

            • Not for beginners

            Best Uses

            • Intermediate

            Comments about O'Reilly Media Programming C# 4.0:

            Having become more comfortable programming in C# over the past year, I find myself using one book as my "goto" refernce when I need a quick answer or to research a new idea. This book has become my goto book for development at work. It is a great reference. I would not recommend it to people new to C#. I would recommend it to someone with some (6-12 months) of C# experience. The best thing I can say about it is that when I am looking for an answer, I usually find it discussed in this book.

            (1 of 1 customers found this review helpful)

             
            4.0

            Great for me

            By MaxTheThird

            from Las Vegas

            About Me Designer, Developer

            Verified Reviewer

            Pros

            • Helpful examples
            • Technical

            Cons

            • Less Firemen

            Best Uses

            • Intermediate

            Comments about O'Reilly Media Programming C# 4.0:

            As noted by other's this book is not for beginner programmers. But if you are have some background in programming then this is a great book for a detailed explanation of C# and .NET, sometimes even more than required which I personally love as I learned unexpected things from it.

             
            1.0

            Disappointed also

            By Wayne D

            from Toronto, Canada

            About Me Designer, Developer

            Verified Reviewer

            Pros

            • Lot's of topics

            Cons

            • Difficult to understand
            • Missing some information

            Best Uses

              Comments about O'Reilly Media Programming C# 4.0:

              I have to say, I'm rather disappointed with this edition of the book. At this point, I wish I hadn't purchased it.

              I have the 4th edition of the book and figured I'd get the 6th edition because there have been a number of changes to the language. The problems that I'm seeing is that there is such an extreme focus on the new features of the language that material that was previously in the 4th edition has been skipped over.

              Just now I was looking for a reference to "regions." My code needs to be better commented, even though it's just for myself. Anyways, I look in the index and see pages 24-27 for comments and regions. But when I go to those sections, there's no examples of using regions.

              The other day I wanted reference information for loading data into a database, but not using LINQ. There's approximately half a page of information. Personally, I'm not a big fan of LINQ but I think it's good to have it in a book. However, I still can't understand how to use LINQ using the material in this book.

              In short... thank goodness for Google, because I'm lost using this book.

              (0 of 1 customers found this review helpful)

               
              5.0

              Very good choice

              By Yura

              from Zagreb, Croatia

              About Me Developer

              Verified Reviewer

              Pros

              • Accurate
              • Concise
              • Easy to understand

              Cons

                Best Uses

                • Expert
                • Intermediate
                • Novice

                Comments about O'Reilly Media Programming C# 4.0:

                Very good book, I don't actually have complaints on the book, I like it very much. I learned other programming languages from other books and I'm sure that this book is of a value. The guys that gave bad critics in other reviews probably expected a kind of a Schildt's Reference book and since this book is not a reference but a kind of a tutorial - do not look for apple in a cherry pie.

                (3 of 4 customers found this review helpful)

                 
                4.0

                Excellent Tutorial Style

                By ksnortum

                from Portland, OR

                About Me Developer

                Verified Reviewer

                Pros

                • Accurate
                • Helpful examples
                • Well-written

                Cons

                • Not always consistant

                Best Uses

                • Intermediate

                Comments about O'Reilly Media Programming C# 4.0:

                Programming C# 4.0 is an excellent book with which to learn C# from the beginning. I read the book front to back and found very few "forward references." Each subject is thoroughly discussed so that you get a good grasp of the subject matter surrounding the language feature.

                The book is not terse. This has been a criticism in other reviews, but they probably should try C# in a Nutshell for that style. I might have called the book Learning C# -- with Programming in the title I expected a complete reference manual. Never the less, the book is thorough and left me with a solid understanding of the language, enough that I could start programming right away.

                I would recommend this book to others. As long as you are OK with a discussional style, you will learn a lot about C#.

                (5 of 9 customers found this review helpful)

                 
                2.0

                Disappointed As Well

                By Feloneous Cat

                from Mystery, Texas

                About Me Developer

                Pros

                  Cons

                    Best Uses

                      Comments about O'Reilly Media Programming C# 4.0:

                      First, if you are looking for a book that will give you the skinny on C# in a quick and easy manner, this is not it. It is overly verbose dealing with technical details that at best should be skipped over and at worst are questionable (the sidebar attempting to link "goto's" and "break's" made me want to tear my hair out - they are not equivalent and using Dijkstra's letter as "proof", when it is the book's author's opinion, is disingenuous - you might have to then argue that exceptions are just fancy "gotos").

                      Second, if you have never used a programming language in your life, this is ALSO not the book for you. Frankly, this will bore many newbies who don't care if the number is a 32 or 64 bit float, they just want to write programs (later, they will care, but not now).

                      Third, I found myself (a veteran of 30 years and C++ and Objective C) flipping past the overly verbose text. Frankly, I don't need you to write a program to PROVE to me that floating point rounding errors exist. All of this should have been somewhere in the back with "oh, here is something you might want to know".

                      All in all, I think that while the authors know their material, the presentation, in my opinion, was poorly thought out. Experienced pros and novices alike will be flipping past text - either it is too far above them or already known.

                      It is better than "Not Good" - a rework of the presentation would do a lot to make this a better book. As it stands, however, I couldn't recommend it.

                      (2 of 9 customers found this review helpful)

                       
                      1.0

                      I am dissapointed

                      By dissapointed

                      from Slovenia

                      About Me Developer

                      Pros

                        Cons

                          Best Uses

                            Comments about O'Reilly Media Programming C# 4.0:

                            To much unnessesary text and confused way of presenting C#

                            To my mind it is almost a waste of time

                            Displaying reviews 1-9

                            Back to top

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