- Series: Expert's Voice
- Hardcover: 1032 pages
- Publisher: Apress; 3 edition (November 29, 2005)
- Language: English
- ISBN-10: 1590594193
- ISBN-13: 978-1590594193
- Product Dimensions: 7 x 2 x 10 inches
- Shipping Weight: 3.6 pounds
- Average Customer Review: 27 customer reviews
- Amazon Best Sellers Rank: #3,216,677 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Pro C# 2005 and the .NET 2.0 Platform (Expert's Voice) 3rd Edition
Use the Amazon App to scan ISBNs and compare prices.
The Amazon Book Review
Author interviews, book reviews, editors picks, and more. Read it now
About the Author
Andrew Troelsen is a partner, trainer, and consultant at Intertech Inc., and is a leading authority on both .NET and COM. His book Pro C# 2005 and the .NET 2.0 Platform won the prestigious 2003 Referenceware Excellence Award and is in its third edition. Also of note are his earlier five-star treatment of traditional COM in the bestselling Developer's Workshop to COM and ATL mirrored in his book, COM and .NET Interoperability, and his top-notch investigation of VB .NET in Visual Basic .NET and the .NET Platform: An Advanced Guide. Troelsen has a degree in mathematical linguistics and South Asian studies from the University of Minnesota, and is a frequent speaker at numerous .NET-related conferences. He currently lives in Minneapolis with his wife, Amanda, and spends his free time investigating .NET and waiting for the Wild to win the Stanley Cup. You can check out his blog at AndrewTroelsen.blogspot.com.
Top customer reviews
The book is divided into five sections: Introducing C# and the .NET Platform, The C# Programming Language, Programming with .NET Assemblies, Programming with the .NET Libraries, and Web Applications and XML Web Services. Given the range of the book, it is clear that not every topic in .NET 2.0/C#, but what is there is a very good representation of the most fundamental parts of the platform. After reading the book, you will not know everything in the platform, but you should have a good idea to where in the MSDN documentation to look to find what you need.
Part 1 is some fluff about the .NET platform and the tools you can use to do .NET development. Part 2 is a good exposition of the C# language covering object-oriented programming, exception handling, collections, delegates, and generics. Part 3 on assemblies is so-so since much of the same material is treated much more succinctly in MSDN, though the chapters on processes and multithreading are good. Part 4 is a good quick run through some of the fundamental classes in the .NET libraries. Given the massive size of the .NET libraries, you can't expect to find everything here, but you will get a good lay of the land so you can find what you need. Part 5 treats web development, and the information again is a reference on the fundamentals of a huge development space. As I don't do web development, I can't really comment on how good it is.
My main complaint about this book is that it could be perhaps 70% of its length without losing any information. The book is title "Pro C#" and yet simple topics like certain aspects of object-oriented programming and using generics seem to try to include something for the beginner, making the exposition drag on much longer than necessary for a "pro" to understand what is going on. As a pro with C++, Java and a couple of other languages, I found myself getting impatient with the exposition quite often. Fortunately, in the end you do get the information you need. The editing could be a bit better and some of the tortured locutions used by Mr. Troelsen need to be cut, but these are minor distractions.
Overall, you can't go wrong by getting this book and once you've digested it, you should have a very good foundation for doing .NET development.
I also bought "Core C# and .NET" by Stephen C. Perry, as Mr. Perry's book does cover a couple areas that Mr. Troelsen's book does not make a single mention of. However, "Pro C#" was still worth every penny. The combination of the two books makes a power-house reference set that no intermediate-level C#.NET programmer should be without.
I have a collection of at least 20 .NET related books. If I lost any of these I probably wouldn't replace them, with the exception of this book. I use the MSDN library mainly as a reference, but when I can't find what I'm looking for, amazingly, I always seem to find it in Andrew Troelsen's faithful book! Many thanks Andrew!
Overall, this is a pretty decent book on C# 2.0. As other reviews have said, it's not for beginners. With 4 years experience in C# .Net and Microsoft MCAD certification, I have found the technical level of the book to be right on the money for me. While much of the book (and C# 2.0) is the same as for .Net 1.1, the review has certainly not hurt me and has not been hard to read at all.
The examples are more correct than any technical book I can remember reading in a long time. And the code samples and downloads work! That almost never happens. Mr. Troelsen has done a great job in that regard.
From a content perspective, it is fairly thorough, touching on most of the new features of C# 2.0, but the level of coverage for the C# 2.0 specific features is at the same level as the 1.1 features.
One area that is very poorly covered is assemblies and assembly location. Mr. Troelsen spends 30 plus convoluted pages on the subject in Chapter 11 while Microsoft clearly describes the topic in 6 pages on their web site. If you don't know about assembly location in .Net before you read Chapter 11, you surely won't when you're finished. In fact, if you do know about assembly binding in .Net before you read it, you may not anymore when you finish reading Chapter 11.
Some key .Net version 2.0 features are not covered at all - for instance, there is no discussion at all of the BackgroundWorker class. This is a very useful new feature of .Net 2.0.
Because the book is not geared for beginners, it could have been better had Mr. Troelsen de-emphasized the 1.1 features slightly and used the recovered space for more emphasis on the 2.0 features. For instance, generics are only superficially covered.
So, technically, I think that four stars is a fair assessment of the book. Since Pro C# 2005 and the .NE 2.0 Platform is a technical book and not a novel, I rated it based on its technical merits, which is a good thing. Had I rated it on its readability, I would have given it 2 or 3 stars.
As one other reader said, the book is full of overly repeated phrases and misused words like factoid and deprecated. As my opening remarks eluded to, Mr. Troelsen, while being a master of C# and the .Net framework, is not a master of the segue. A little more plain-speak and a lot less Thesaurus would benefit the next version.
Way too many code samples start with something along the lines of "ponder the following" - 43 to be precise. Nearly 100 more are introduced with the phrase "as so:". How about using just "the following example" or "like this:"? Or telling the reader to "author the following code" when he means to enter or to input or to type the code. Mr. Troelsen already authored the code. If I claimed to author it, that would be plagiarism. Again, too much Thesaurus.
The grammatical faux pas that bugs me the most is "Do be aware" which occurs in various forms over 135 times in the book, or more than 5 times per chapter. I found about 5 places where the phrase seemed to be contextually appropriate. I suggest that he does this:
book = book.Replace("Do be aware", "");
In other words, just state the facts.
But he did mix it up some. At one point, he grabbed my attention with "Be very aware". Now, this must be an important fact (not factoid), right? Imagine my disappointment when I realized that the fact (not factoid) I was supposed to "be very aware" of was that whatever topic was being presented would probably never come up in the real world. So why, then, must I be "very" aware? Couldn't I be just sort of aware? Or better yet, why not skip the failed attempt at a segue and state the fact (not factoid) that the functionality was of minor significance?
One of the best reasons to buy this book is that, if you get the first printing of the third edition, you can pass a quick one-question test on APress' site and download an e-book in searchable PDF format. As you can tell from my review, the search feature works.
If you're a beginner looking to learn .Net, C#, or how to program, I would not suggest this book. If you're a practicing .Net developer with a background in C#, I would highly recommend the book until there are more technically comparable books that may be more readable available.
Most recent customer reviews
Do your own examples for each chapter and that will teach you anything.Read more