![](https://csdnimg.cn/release/download_crawler_static/4273607/bg13.jpg)
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
xviii
|
Preface
are recipes addressing things we found missing from the .NET Framework Class
Library (FCL), even though Microsoft has provided tons of functionality to keep
folks from reinventing the wheel. Some of these solutions you might immediately
use, and some may never darken your door, but we hope this book helps you get the
most out of C# and the .NET Framework.
The book is laid out with respect to the types of problems you will solve as you
progress through your life as a C# programmer. These solutions are called recipes;
each recipe consists of a single problem, its solution, a discussion of the solution and
other relevant related information, and finally, where you can look for more informa-
tion about the classes used from the FCL, other books addressing this topic, related
articles, and other recipes. The question-answer format provides complete solutions
to problems, making the book easy to read and use. Nearly every recipe contains a
complete, documented code sample, showing you how to solve the specific prob-
lem, as well as a discussion of how the underlying technology works and a list of
alternatives, limitations, and other considerations when appropriate.
Who This Book Is For
You don’t have to be an experienced C# or .NET developer to use this book—it is
designed for users of all levels. This book provides solutions to problems that devel-
opers face every day as well as some that may come along less frequently. The reci-
pes are targeted at the real-world developer who needs to solve problems now, not
learn lots of theory before being able to solve the problem. While reference or tuto-
rial books can teach general concepts, they do not generally provide the help you
need in solving real-world problems. We choose to teach by example, the natural
way for most people to learn.
The majority of the problems addressed in this book are frequently faced by C#
developers, but some of the more advanced problems call for more intricate solu-
tions that combine many techniques. Each recipe is designed to help you quickly
understand the problem, learn how to solve it, and find out any potential trade-offs
or ramifications to help you solve your problems quickly, efficiently, and with mini-
mal effort.
To save you even the effort of typing in the solution, we provide the sample code for
the book on the O’Reilly web site to facilitate the “editor inheritance” mode of devel-
opment (copy and paste) as well as to help less-experienced developers see good pro-
gramming practice in action. The sample code provides a running test harness that
exercises each of the solutions, but enough of the code is provided in each solution
in the book to allow you to implement the solution without the sample code. The
sample code is available from the book’s catalog page: http://www.oreilly.com/
catalog/9780596516109.