logo

Book Review: C# 3.0 Cookbook [O'Reilly]

By Peter Bromberg
Printer Friendly Version
View My Articles
170 Views
    

A review of the new O'Reilly book, "C# 3.0 Cookbook" by Jay Hilyard and Stephen Teilhet


C# 3.0 Cookbook is an updated  version of the popular book to C# 3.0 and the .NET 3.5 platform. This new edition offers more than 250 code recipes for a broad range of  problems that C# programmers face. More than a third of the recipes have been rewritten to take advantage of new C# 3.0 features.

There is  a new chapter on LINQ (language integrated query), and two expanded chapters for recipes for extension methods, lambda functions, object initializers, new synchronization primitives and more. This new edition of the book is also complemented by a public wiki, which not only includes all of the C# 2.0 recipes from the previous edition that remain 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.

This is not a book designed for you to learn C# 3.0 from; it is a book that presents, in a logical way, a series of common programming problems with concise solutions and code examples illustrating C# 3.0 techniques on how to solve them. There is a whole lot of brand new "stuff" in the book, including threading, web, Xml and even an illustration of the (finally) unrestricted .NET 3.5 Managed Named Pipes architecture. Among other cool tricks, you'll learn how to inspect and change your Web Application configuration, use the UriBuilder class, use events to make threads cooperate, lock subsections of a file, and all kinds of cool Generics examples.

Overall, I'd recommend this to intermediate level developers who already have achieved a good level of mastery of the C# language and the .NET Framework.  You can view more about the book here, and you can preview the code samples too.

The sticker price is $54.99 USD but you can always find lower prices at online book discounters.

Biography - Peter Bromberg
Peter Bromberg is a C# MVP, MCP, and .NET expert who has worked in banking, financial and telephony for over 20 years. Pete focuses exclusively on the .NET Platform, and currently develops SOA and other .NET applications for a Fortune 500 clientele. Peter enjoys producing digital photo collage with Maya,playing jazz flute, the beach, and fine wines. You can view Peter's UnBlog and IttyUrl sites. Pete Tweets at peterbromberg


Didn't Find The Answer You Were Looking For?

EggHeadCafe has experts online right now that may know the answer to your question.  We pay them a bonus for answering as many questions as they can.  So, why not help them and yourself by becoming a member (free) and ask them your question right now?
Ask Question In Live Forum

If you have an OpenID and do not want to become a member of the EggHeadCafe forum, you can also sign on to Chat Chaos and post your question to our real time Silverlight chat application.
Ask Question In Chat Chaos

Article Discussion: Book Review: C# 3.0 Cookbook [O'Reilly]
Peter Bromberg posted at Monday, January 28, 2008 2:54 PM
Original Article
 






  $1000 Contest    [)ia6l0 iii - $228  |  Jonathan VH - $161  |  Huggy Bear - $135  |  F Cali - $95  |  egg egg - $94  |  more Advertise  |  Privacy  |   (c) 2010