With "C# Cookbook, 2nd Edition," you'll be able to learn and improve your mastery of both the C# language and the .NET platform. This updated bestseller has been completely revised to account for C# 2.0, the latest version of this popular object-oriented programming language. It also includes more than 100 new code solutions (over 300 overall) to common problems and tasks that you're sure to face as a C# programmer.
Nearly every solution, or "recipe," contains a complete, documented code sample showing you how to solve the specific problem, as well as a detailed discussion of how and why the underling technology works. This question-solution-discussion format is a proven teaching method, as any fan of O'Reilly's "Cookbook" series can attest to. In fact, no other source offers a learn-as-you-go format quite like this.
"C# Cookbook, 2nd Edition" is organized into 20 chapters, each of which focuses on a particular topic in creating C# solutions. Here are just some of what's covered: Numeric data types Strings and characters Classes and structures Generics Exception handling Delegates, events, and anonymous methods Filesystem interactions Web site access XML usage (including XPath and XSLT) Networking Threading Unsafe code
Best of all, you don't have to be an experienced C# or .NET developer to use "C# Cookbook, 2nd Edition," You just have to be someone who wants to solve a problem now, without having to learn all the related theory first.
The O'Reilly Cookbook series, with its to-the-point but illuminating coverage of programming subjects, meets the challenge of explaining how to write software as well as anything else on the market. When you're facing a coding problem--particularly in a language you're new to or haven't used in a while--and know there must be a proven way to solve it, the right Cookbook can often get you going in a hurry. C# Cookbook applies the formula to the language of Microsoft .NET, and is an addition to the line that more than a few programmers will appreciate.
Don't count on this book to solve big tasks for you. "I need some C# software that integrates with Avaya telephone switches and Siemens databases...:" No. Rather, this book shows you how to do the little jobs (converting an array to a delimited string, monitoring the event log, creating a bounded hashtable, and so on) that can stand in the way of prompt completion of a project. What's more, the coverage isn't limited to code samples. Stephen Teilhet and Jay Hilyard take advantage of the Cookbook series' Problem-Solution-Discussion format to teach you a thing or two about C#. You'll refer to this book often for quick answers and explanations. --David Wall
Topics covered: How to solve small but non-trivial problems in the C# programming language. Each of 17 chapters covers a major area of C# functionality--networking, regular expressions, filesystem, security, and so on--and contains a dozen or two entries on how best to solve programming problems.
Customer Reviews:
Avg. Customer Rating: 4.5 / 5.0
Wish I'd started with this:
[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... more info
Learn to boil water!:
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.... more info
Clear, Concise and Detailed examples:
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... more info
Great C# Reference Book:
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.)