C# Cookbook

Front Cover
"O'Reilly Media, Inc.", 2004 - Computers - 831 pages
1 Review

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'sLearning C#orProgramming 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. TheC# Cookbookgets straight to the heart of the problem with code recipes collected especially for developers working on the .NET platform.

TheC# Cookbookoffers 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 theC# Cookbookare 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. TheC# Cookbookis 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.
 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Selected pages

Contents

Preface
xv
Numbers
1
Strings and Characters
28
Classes and Structures
73
Enumerations
224
Exception Handling
238
Diagnostics
290
Delegates and Events
340
Data Structures and Algorithms
467
Filesystem IO
537
Reflection
605
Networking
635
Security
670
Threading
713
Unsafe Code
746
XML
769

Regular Expressions
388
Collections
420

Other editions - View all

Common terms and phrases

About the author (2004)

Stephen Teilhet earned a degree in electrical engineering but soon afterwards began writing software for the Windows platform. For the last eight years, he has worked for several consulting firms on a wide range of projects, specializing in Visual Basic, Visual C++, MTS, COM, MSMQ, and SQL Server. Stephen currently works for Compuware Numega Labs in Nashua, New Hampshire, where he is immersed in the Microsoft .NET technologies.

Jay Hilyard has been developing applications for the Windows platform for over 10 years and is currently a .NET enthusiast. Jay has published an article in MSDN Magazine on Profiling and Garbage Collection and he currently works on the BoundsChecker team at the Compuware NuMega Lab in Nashua, NH. When not immersed in .NET, Jay spends his time with his family and rooting for the Patriots.

Bibliographic information