Completely updated for C# 3.0 and the .NET 3.5 platform, the new edition of this bestseller offers more than 250 code recipes to common and not-so-common problems that C# programmers face every day. Every recipe in the book has been reconsidered with more than a third of them rewritten to take advantage of new C# 3.0 features. If you prefer solutions you can use today 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: LINQ; Numeric data types and Enumerations; Strings and characters; Classes and structures; Generics; Exception handling; Delegates, events, and lambda expressions; Filesystem interactions; Web site access; XML usage (including LINQ to XML, XPath and XSLT); Networking; and Threading. 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.