C# Cookbook, O'Reilly
Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio
|
Contents |
C# Online.NET Book Review
A cookbook is a collection of programming recipes, each of which is designed to address a specific problem. This book is neither a C# primer not a C# reference. It is a huge collection—300—of solutions to specific problems organized by type of problem.
Each solution—recipe—comprises a problem statement, a solution, a discussion, and any further references. Most recipes include full, working, documented C# source code which can be applied directly in your work. All of the source code examples are in the C# language. A test harness is available to exercise each of the three hundred solutions.
This is the second edition of the C# Cookbook by the same authors. The book has been updated to include C# 2.0 and .NET 2.0. In the process, it acquired 90+ new recipes including new chapters on generics, iterators, partial types, and the Web.
The scope of the book is quite broad covering many day to day needs—the sorts of things you have never done before or do only rarely or forget how you did them. Even though the book is not a reference proper, it is, in fact, a type of functional reference which you access by problem description. While some solutions are quite brief, others take pages to develop. Most recipes can be used right out of the box or can be used as templates which are easily adapted to your specific requirements.
The book can be used in three basic ways:
- as a time saver to find quick or improved solutions to everyday problems as they arise;
- as an introduction in C# code to the various application program interfaces (APIs);
- as the easiest way to learn C# if you already know another object-oriented language—like the Java language.
This is one of those rare book types that is—truely—useful for any level of programmer from beginner to advanced. Because, no one is intimately familiar will all the APIs. Of course, not every recipe will interest every programmer. But, if you place this book near your cube, you will find yourself referring to it time and again.
Bottom line
C# Cookbook is rife with practical programming solutions great and small.
Publisher's description
Completely revised for C# 2.0, this updated bestseller offers more than 100 new code solutions to common problems 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. Covers .NET Framework Class Libraries, interoperability, design patterns, and much more! Full Description
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
About the author(s)
Jay Hilyard has been developing applications for the Windows platform for over 12 years and for .NET for more than 4 of those. Jay has published multiple articles in MSDN Magazine and he currently works on the New Product Development team at Newmarket International in Portsmouth, NH. When not immersed in .NET, Jay spends his time with his family and rooting for the Patriots.
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.