Short description
Thoroughly updated for C# 3.0 and .NET 3.5, this new edition of the popular "C# Cookbook" has everything needed to tackle more than 300 of the most common (and not so common) tasks that working C# programmers face everyday.
Long description
Completely updated for C# 3.0 and the .NET 3.5 platform, the new edition of this bestseller offers more than 300 code recipes to common and not-so-common problems that C# programmers face every day. Every recipe in the book has been reviewed with more than a third of them rewritten for the new features C# 3.0. If you prefer solutions to general C# language instruction, and quick answers to theory, this is your book. C# 3.0 Cookbook offers a new chapter on LINQ (language integrated query), plus two expanded chapters for recipes for extension methods, lambda functions, object initializers, new synchronization primitives and more. The new edition is also complemented by a public wiki, which not only includes all of the C# 2.0 recipes from the previous edition unchanged by the release of C# 3.0, but invites you to suggest better ways to solve those tasks. Here are some of topics 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 Each recipe in the book includes tested code that you can download from oreilly.com and reuse in your own applications, and each one includes a detailed discussion of how and why the underling technology works. You don't have to be an experienced C# or .NET developer to use C# 3.0 Cookbook. You just have to be someone who wants to solve a problem now, without having to learn all the related theory first.