REVIEW

Book Review: C# Cookbook, 2nd Edition by Jay Hilyard and Stephen Teilhet

Written by Nick Schweitzer
Published April 08, 2006

Learning a new language can be a daunting task. Even trying to master a language that you've already started using can be difficult. One of the most difficult challenges in learning and mastering C#, and the .NET Framework, is trying to navigate all the documentation that exists, simply to find out how to do what you want to do. The documentation available through MSDN is very rich but is organized primarily for people who already know where to start looking. If you know the name of a class or the name of a method, then the MSDN Library can provide great detail. But what if you don't know where to start looking? That is where the C# Cookbook comes in.

The C# Cookbook from O'Reilly Media is in many ways a reference just like MSDN but is organized by programming tasks, instead of by classes and methods. Each of these tasks, called recipes in the book, is common things that most programmers need to be able to do in any environment. Each recipe contains code samples, detailed information about the framework classes and methods that are used, and also lists specific topics in MSDN where more information can be found. Recipes range from string manipulation, to using generic collections, file I/O, and writing secure code.

The C# Cookbook is excellent for someone who is new to C# and already familiar with the basics of the language syntax, but is unfamiliar with the capabilities of the .NET Framework. Intermediate level programmers will also find this book to be a useful reference providing insight into features they may have used before but didn't understand all the details behind. It does include a lot of details about features new to .NET 2.0, but each recipe does not highlight whether it is specific for .NET 2.0, or whether it would work in earlier versions of the .NET Framework.

Some of the recipes may seem overly simplistic for intermediate programmers and especially advanced programmers. There are more "how to boil an egg" recipes than "filet minion" recipes. There is also some repetition between recipes in the same section, which makes this book hard to read straight through at times. But the repetition would also prove very useful for someone using this book as a reference since you can cherry pick the recipes you need without having to read a lot before and after each recipe for added context. For someone looking for an easy-to-use desk reference, the C# Cookbook is highly recommended.

Nick Schweitzer Profile PicNick Schweitzer is a software consultant in the Milwaukee area. In his spare time he is an amatuer triathlete, political pundit, and is a recovering geek. He maintains two blogs: The World According to Nick and The Coding Monkey.
Keep reading for information and comments on this article, and add some feedback of your own!
Book Review: C# Cookbook, 2nd Edition by Jay Hilyard and Stephen Teilhet
Published: April 08, 2006
Type: Review
Section: Books
Filed Under: Sci/Tech: Software, Sci/Tech: Programming, Sci/Tech: Computers, Books: Computers and Internet
Writer: Nick Schweitzer
Nick Schweitzer's BC Writer page
Nick Schweitzer's personal site
Spread the Word
Like this article?
Email this
Submit to del.icio.us Save to del.icio.us
RSS Feeds
All RSS Feeds (240+)
Comments on this article
BC articles by Nick Schweitzer
Sci/Tech: Software
Sci/Tech: Programming
Sci/Tech: Computers
Books: Computers and Internet
All Books Articles
Nick Schweitzer's personal weblog
All Review articles
All BC articles
All BC Comments

Comments

Want comments emailed to you? No spam, promise! Address:

Add your comment, speak your mind

(Or ping: http://blogcritics.org/mt/tb/46134)

Personal attacks are not allowed. Please read our comment policy.





Remember Name/URL?

Please preview your comment!

Fresh
Articles
Fresh
Comments