C# 3.0 Cookbook, Third Edition

More than 250 solutions for C# 3.0 programmers

By Jay Hilyard, Stephen Teilhet
December 2007
Pages: 886
Series: Cookbooks
ISBN 10: 0-596-51610-X | ISBN 13: 9780596516109
starstarstarstarstar (4) (Average of 2 Customer Reviews)

Buy 2 Get 1 Free Free ShippingGuarantee

Description

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. More than a third of the recipes have been rewritten to take advantage of new C# 3.0 features. If you prefer solutions to general C# language instruction and quick answers to theory, this is your book.
Full Description

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
  • Collections
  • Exception handling
  • Delegates, events, and lambda expressions
  • Filesystem interactions
  • Web site access
  • XML usage (including LINQ to XML, XPath and XSLT)
  • Networking
  • Threading
  • Data Structures & Algorithms
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.




Featured customer reviews

Write a Review


where's the example code,  February 12 2009
Rating: StarStarStarStarStar
Submitted by Anonymous Reader   [Respond | View]

I had a hunt for the code and found it here...

http://examples.oreilly.com/9780596516109/


Allen Noren photo where's the example code,  March 05 2008
Submitted by Allen Noren | O'Reilly AuthorO'Reilly Blogger   [Respond | View]

Hello Daron,

Sorry you missed it. The sample code is available via the "Examples" link under the book's cover on this page. For your convenience, the direct link is http://examples.oreilly.com/9780596516109/ .

Thanks for reaching out to us.

--Allen


where's the example code,  March 05 2008
Rating: StarStarStarStarStar
Submitted by Daron Lawing   [Respond | View]

excdept for one thing. on page xviii it says "the sample code is available from the books catalog page at http://www.oreilly.com/catalog/9780596516109/"

well please go to that link and someone tell me where one would find the sample code? there is nothing on earth i hate more than someone providing a general link promising available information and it's just not there or it's buried under some golbergian course of discovery within the site.

Well... can you provide a link to the sameple code please????

Read all reviews


Media reviews
"...what I like about "C# 3.0 Cookbook," 3rd Edition is that it is the go-to book for solving problems. While it is not the kind of book that you can learn C# with, it is the kind of book that you want to have around when you are learning C#. It will also help you grow as a developer and save you time, energy, and frustration when you need it most."
-- T. Michael Testi, Blogcritics.org


""Cookbook" style programming books tend to de-emphasize having a solid theoretical understanding of the language and frameworks, and instead present canned solutions to specific problems. Since those solutions almost certainly do not solve your exact problem, the developer must then hammer on the canned solution until it conforms to the problem at hand. That way lies cargo cult programming! Fortunately, the C# 3.0 Cookbook does a good job of not just providing a lot of good solutions to common problems, but also provides some background on the general classes of problems that it treats. This is not at all a C# 3.0 language tutorial, but it is very handy to have around when you're like "Hmm, how does one get the audit info out of a file?""
-- Eric Lippert, Fabulous Adventures in Coding



Read all reviews

See larger cover

"...bigger and better than ever, with helpful recipes that are up to date with the new technology that is included in C# 3.0."
--T. Michael Testi, Blogcritics.org