Programming C#, 4th Edition
by Jesse Liberty
Learning C# 2005, 2nd Edition
by Jesse Liberty; Brian MacDonald
ASP.NET 2.0 Cookbook, 2nd Edition
by Michael A. Kittel; Geoffrey T. LeBlond
Programming .NET Components, 2nd Edition
by Juval Löwy
Pro C# 2008 and the .NET 3.5 Platform, Fourth Edition
by Andrew Troelsen
Head First C#
by Andrew Stellman; Jennifer Greene
Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional, Second Edition
by Matthew MacDonald
Learning C# 3.0, 1st Edition
by Jesse Liberty; Brian MacDonald
C# in Depth
by Jon Skeet
Easy to learn and use, the C# language is targeted at developers for Microsoft's .NET platform who've worked with a C-like language before, such as C, C++, or Java. There's no shortage of excellent tutorials and documentation to help new developers get a handle on the language, such as O'Reilly's Learning C# or Programming C#. But when you need practical answers to the day-to-day questions you run up against, a tutorial isn't going to do the trick. The C# Cookbook gets straight to the heart of the problem with code recipes collected especially for developers working on the .NET platform. The C# Cookbook offers a definitive collection of solutions and examples for this new programming language. Recipes range from simple tasks to the more complex, and are organized with respect to the types of problems you'll need to solve as you progress in your experience as a C# programmer. Nearly every recipe contains a complete, documented code sample showing you how to solve the specific problem, as well as a discussion of how the underlying technology works and a discussion of alternatives, limitations, and other considerations where appropriate. The recipes in the C# Cookbook are organized into seventeen chapters, each of which focuses on a particular topic in creating C# solutions. Among the topics covered, you'll find:
Numeric data types in C#
Strings and characters
Classes and structures
Exception handling
Delegates and events
Regular expressions
Data structures and algorithms
Networking
Security
Unsafe Code
You don't need to be an experienced C# or .NET developer to use this book. The C# Cookbook is designed for users of all levels with recipes targeted at the real-world developer who needs to solve problems now, not learn lots of theory first. With this guide, all developers will be able to learn and improve their mastery of both the language and the .NET Framework Class Libraries.
Average Amazon.com® Rating: ![]()
![]()
![]()
![]()
Based on 21 Ratings
Learn to boil water! - 2008-05-28
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
This is a good intro book that eliminates the need for some of the first books I bought on C#. When compared to other "cookbooks", however, this book is incredibly weak (see: XSLT Cookbook, SQL Cookbook). If you have used C# for more than 6 months, you will know how to iterate over an array, to use String.IsNullOrEmpty, get the index of a value within a string, and use a generic arraylist. These are just some of the junior "recipes" you'll see in this book. The "recipes" just exercise the fundamentals (i.e. how to boil water) rather than how the fundamentals work together to solve complex problems in elegant ways. The easier the concept, the more information. There isn't really any analysis or best-practice justification present. I'd like to see some performance analysis of generics or at least some depth on partial methods. Nothing to see here for mid-level developers. Not written or organized poorly, just simple. If it were titled "Intro to C# by example", I'd give it a higher score.
Great C# Reference Book - 2007-11-05
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
I came across a project that had to do with XML, and I came to love this book. It has a lot of suggestions that helped me jump start my project.
I wouldn't recommend this book to learn C#- (pick up John Sharp C# step by step for that.)
Excellent!!!! - 2007-09-05
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
If you are just coming into C# or have been doing it for a while - it doesn't matter - BUY THIS BOOK!!! Oreilly as we all know, makes very good tech/programming books and this one is one of the best I've had so far. This will be a book that will spend much less time on my shelf and much more time next to me on my desk.
Clear, Concise and Detailed examples - 2008-03-11
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
I'm an intermediate coder, familiar with programming and I have about 1.5 years programming C#. I've already used this book(C# Cookbook 2nd edition) to write C# code navigating in and around directories and files. The examples in the book regarding "Directory Info" and "File Info" were so clear and concise, I was able to complete my programming task with almost no lost time to the learning process. What I like most was that there was not one example, but many examples for the most used functionalities. This book has already paid for itself when I consider the time it saved me the first time I needed it!
Wish I'd started with this - 2008-08-01
Reviewer Rating: ![]()
![]()
![]()
![]()
![]()
[Reviewed by XPSD member Steve Grubbs]
Summary
I wanted to check out a C# cookbook after developing in C# for almost a year. I figured I should get a basic understanding of the language and the .NET framework by using it for awhile before I buy such a book. That said, I wish I could go back in time and tell myself to get the C# Cookbook the day I started developing in C#.
Overall Review
I see two main criteria for reviewing a programming language cookbook.
1. The quality of each "recipe"
2. The recipes chosen for the book
The C# Cookbook handles each recipe very well, which we should definitely demand of a cookbook. It has a very simple 4-section format, Problem-Solution-Discussion-See Also. The problem is briefly stated first. The solution is almost entirely code samples, with minimal commentary. The discussion is usually short and sweet, with a few exceptions. The "see also" points to reference topics in the MSDN help, which is of questionable usefulness, since you can search the topics yourself; but, is short enough to skim over easily.
The recipes chosen for the C# Cookbook range from very useful to trivial. One of the trivial examples would be something like, converting degrees to radians. The only language specific feature here is Math.PI, which I don't think is worth the page it's printed on. What I found surprisingly useful were some code samples that I spent time coming up with on my own before reading this book, like a custom trace class that outputs in XML. Fortunately, most of the examples were in the useful category.
A few glaring topic omissions are remoting, ADO, and advanced object serialization.
Per-Chapter Review
* Numbers - somewhat trivial
* Strings and Characters - good introduction to the C# string
* Classes and Structures - good stuff on interfaces, casting, converting, COM interop
* Enumerations - simple, but short and useful
* Exception Handling - an underrated topic that I'm happy to see covered
* Diagnostics - a surprisingly useful set of tools to help with debugging
* Delegates and Events - very good intro for the new C# programmer
* Regular Expressions - very good intro for the new C# programmer
* Collections - a little simple, could have more useful samples
* Data Structures and Algorithms - simple, but good if more advanced types are required
* Filesystem I/O - very good examples of file I/O in C#
* Reflection - a necessary intro to reflection, but a bit simple
* Networking - biggest complaint: Why is there no remoting?
* Security - a good survey of various security issues in C#
* Threading - a good intro to threads and basic synchronization in C#
* Unsafe Code - I tore out and burned this section
* XML - good intro to reading/writing XML in C#
Top Level Categories:
Internet/Online
Programming
Sub-Categories:
Internet/Online > .Net
.Net > C#
Programming > C#
Some information on this page was provided using data from Amazon.com®. View at Amazon >