C# 4.0 How-To Review

C# 4.0 How-To
Average Reviews:

(More customer reviews)
Are you looking to buy C# 4.0 How-To? Here is the right place to find the great deals. we can offer discounts of up to 90% on C# 4.0 How-To. Check out the link below:

>> Click Here to See Compare Prices and Get the Best Offers

C# 4.0 How-To ReviewThis book's title does not quite match its content but the book's introduction does indicate this. This is primarily a very good book of code and code algorithms in the .NET framework using C#. That being said the book does cover the changes made to the .NET 4.0 framework and to C# 4.0.
The code is very well written--it is beautiful well structured communicative code. The code in the book is sparsely commented; it is so well-written that few comments are needed. As I have said, in many ways the book is a book of code algorithms, for example, in chapter 5 Convert Between Number Bases, Convert a Number to Bytes, Determine if an Integer is Even, Determine if a Number is Prime, Count the Number of 1 Bits etc. All these code examples are useful algorithms but have nothing to do with .NET Framework 4.0 or C# 4.0 per se.
Despite what the Introduction says this is decidedly not a book for beginners. While they may be able to find useful algorithms here and there the content of the book is way too terse for a beginner to follow and they should turn to other books for a more complete introduction to C#. Chapter 8 on regular expressions will only be useful to programmers that already have the basics of regular expressions well-understood otherwise even the first few code examples will leave them scratching their heads. This book does not do any hand-holding but rather shows you in very practical ways how to use the C# language and the .NET framework.
I loved the code examples using dynamic types as this was the best example I have yet seen of using them in a practical straight-forward way. The code is the book is not just useful and terse but it is also elegant. For example, the ternary operator is used multiple times in the CompressFile project in Chapter 11 producing really elegant concise and clear code.
The book, not the down-loadable code, has a few errors and code bugs but very few, for example:
Pg 16 code won't compile since _x is private and therefore not accessible to the derived class
Pg 17 line Console.WriteLine(d.MyProperty().ToString()); wont compile
Pg 17 code wont compile, class Derived not inheriting from Base class--missing : base
DoSomething method in class Derived needs to be marked override not virtual to eliminate compiler warning
Pg 65 example code given says, "Because ArgumentNullException is a type of ArgumentException, and ArgumentException is first in the catch list, it will be called." This is not true as the compiler is smart enough to recognize the problem and results in a compiler error and therefore the code will not even run.
I recommend this book for intermediate and advanced developers. Read the book and study the code examples and you will:
1) Learn the .NET Framework 4.0
2) Learn C# 4.0
3) Add to your inventory of useful code algorithms
4) Improve your written code by reading and studying the elegant code in this book.C# 4.0 How-To Overview

Want to learn more information about C# 4.0 How-To?

>> Click Here to See All Customer Reviews & Ratings Now

0 comments:

Post a Comment