Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
27 used & new from $1.76

Have one to sell? Sell yours here
 
   
C# Cookbook, 2nd Edition (Cookbooks (O'Reilly))
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

C# Cookbook, 2nd Edition (Cookbooks (O'Reilly)) [ILLUSTRATED] (Paperback)

by Jay Hilyard (Author), Stephen Teilhet (Author)
Key Phrases: server name, networking example, void foo, Contains Left, Contains Right, Changed File (more...)
4.6 out of 5 stars See all reviews (21 customer reviews)

List Price: $54.99
Price: $34.64 & this item ships for FREE with Super Saver Shipping. Details
You Save: $20.35 (37%)
Temporarily out of stock.
Order now and we'll deliver when available. We'll e-mail you with an estimated delivery date as soon as we have more information. Your account will only be charged when we ship the item.
Ships from and sold by Amazon.com. Gift-wrap available.

11 new from $10.76 16 used from $1.76
Also Available in: List Price: Our Price: Other Offers:
Paperback (Bargain Price) Order it used!
Paperback (1st) $49.95 $38.96 27 used & new from $5.00
There is a newer edition of this item:
C# 3.0 Cookbook C# 3.0 Cookbook 4.0 out of 5 stars (6)
$32.72
In Stock.
What Do Customers Ultimately Buy After Viewing This Item?
C# Cookbook, 2nd Edition (Cookbooks (O'Reilly))
71% buy the item featured on this page:
C# Cookbook, 2nd Edition (Cookbooks (O'Reilly)) 4.6 out of 5 stars (21)
$34.64
C# 3.0 Cookbook
15% buy
C# 3.0 Cookbook 4.0 out of 5 stars (6)
$32.72
C# 3.0 in a Nutshell: A Desktop Quick Reference (In a Nutshell (O'Reilly))
5% buy
C# 3.0 in a Nutshell: A Desktop Quick Reference (In a Nutshell (O'Reilly)) 4.9 out of 5 stars (35)
$31.49
Programming C#: Building .NET Applications with C#
5% buy
Programming C#: Building .NET Applications with C# 4.1 out of 5 stars (206)
$29.67

Frequently Bought Together

Customers buy this book with Learning C# 2005: Get Started with C# 2.0 and .NET Programming (2nd Edition) by Jesse Liberty

C# Cookbook, 2nd Edition (Cookbooks (O'Reilly)) + Learning C# 2005: Get Started with C# 2.0 and .NET Programming (2nd Edition)
Price For Both: $61.03

One of these items ships sooner than the other. Show details

  • This item: C# Cookbook, 2nd Edition (Cookbooks (O'Reilly)) by Jay Hilyard

    Temporarily out of stock.
    Order now and we'll deliver when available. We'll e-mail you with an estimated delivery date as soon as we have more information. Your account will only be charged when we ship the item.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Learning C# 2005: Get Started with C# 2.0 and .NET Programming (2nd Edition) by Jesse Liberty

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought

Programming C#: Building .NET Applications with C#

Programming C#: Building .NET Applications with C#

by Jesse Liberty
4.1 out of 5 stars (206)  $29.67
Programming .NET Components, 2nd Edition

Programming .NET Components, 2nd Edition

by Juval Lowy
4.8 out of 5 stars (64)  $31.36
Pro C# 2008 and the .NET 3.5 Platform, Fourth Edition (Windows.Net)

Pro C# 2008 and the .NET 3.5 Platform, Fourth Edition (Windows.Net)

by Andrew Troelsen
4.4 out of 5 stars (56)  $37.79
ASP.NET 2.0 Cookbook (Cookbooks (O'Reilly))

ASP.NET 2.0 Cookbook (Cookbooks (O'Reilly))

by Michael Kittel
3.7 out of 5 stars (13)  $34.62
CLR via C#, Second Edition (Pro Developer)

CLR via C#, Second Edition (Pro Developer)

by Jeffrey Richter
4.8 out of 5 stars (46)  $37.79
Explore similar items

Editorial Reviews

Amazon.com Review
The O'Reilly Cookbook series, with its to-the-point but illuminating coverage of programming subjects, meets the challenge of explaining how to write software as well as anything else on the market. When you're facing a coding problem--particularly in a language you're new to or haven't used in a while--and know there must be a proven way to solve it, the right Cookbook can often get you going in a hurry. C# Cookbook applies the formula to the language of Microsoft .NET, and is an addition to the line that more than a few programmers will appreciate.

Don't count on this book to solve big tasks for you. "I need some C# software that integrates with Avaya telephone switches and Siemens databases...:" No. Rather, this book shows you how to do the little jobs (converting an array to a delimited string, monitoring the event log, creating a bounded hashtable, and so on) that can stand in the way of prompt completion of a project. What's more, the coverage isn't limited to code samples. Stephen Teilhet and Jay Hilyard take advantage of the Cookbook series' Problem-Solution-Discussion format to teach you a thing or two about C#. You'll refer to this book often for quick answers and explanations. --David Wall

Topics covered: How to solve small but non-trivial problems in the C# programming language. Each of 17 chapters covers a major area of C# functionality--networking, regular expressions, filesystem, security, and so on--and contains a dozen or two entries on how best to solve programming problems. --This text refers to the Paperback edition.

Product 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

Best of all, you don't have to be an experienced C# or .NET developer to use "C# Cookbook, 2nd Edition," You just have to be someone who wants to solve a problem now, without having to learn all the related theory first.

See all Editorial Reviews


Product Details


Inside This Book (learn more)

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
Glenn Bisignani suggested this product show on searches for "c# 2005". What do you suggest?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

21 Reviews
5 star:
 (16)
4 star:
 (3)
3 star:
 (1)
2 star:
 (1)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.6 out of 5 stars (21 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
26 of 28 people found the following review helpful:
4.0 out of 5 stars Great addition to your C# library, April 22, 2004
By ueberhund "ueberhund" (Salt Lake City, UT United States) - See all my reviews
This review is from: C# Cookbook (Paperback)
This is a really cool book. Skim through it, and you'll see that all the hard stuff you want to do in .NET or C# are all in one book. You'll find some general computer science algorithms implemented in C#, and you'll find other things that are simply C# specific. I'd highly recommend any professional C# programmer adding this to their reference library.

The book contains a chapter for each of various C# objects. Beginning with numbers, the book continues through strings, classes, delegates, collections, I/O, threading, and XML to name a few. Some examples of "recipes" you'll find include how to improve string builder performance, issues with bit-shifting, adding notification callbacks, rolling back object changes, determining whether a process has stopped responding, and validating XML.

Like many of O'Reilly's other "cookbook" reference books, this book can be read from cover to cover, but it's really designed like a cookbook. The idea is to flip thorough each recipe in a specific section until you find one that fits what you're trying to do. While reading through this book, I came across five or six answers to various different problems I'm currently addressing in my own C# work. This is a definite must-have to your library.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
20 of 21 people found the following review helpful:
5.0 out of 5 stars Outstanding C# Reference Book, September 22, 2005
By Daniel McKinnon (Tewksbury, MA USA) - See all my reviews
(TOP 500 REVIEWER)      
This review is from: C# Cookbook (Paperback)
This is exactly what a cookbook should be, it's as simple as that. If you are a C# programmer you would be making a mistake to not have a copy of this fantastic reference book by your side. For any book to be named a "cookbook" I would expect a myriad of problems to be tackled, and a variety of subjects. I wouldn't want a thin reference manual, yet I wouldn't want problems to go on for pages and pages and pages. Ideally an examination of a wide variety of issues with concise, straightforward solutions is optimal, and that's exactly what this book provides.

Topics Covered:

01. Number-Related Tips & Tricks
02. String Abilities
03. Working With Classes & Structures
04. Enumerations
05. Exception Handling
06. A look at Diagnostic Tools
07. Working with Delegates & Events
08. Regular Expressions
09. Collections
10. Data Structures in C#
11. Filesystems in C#
12. Reflection
13. Networking code and issues
14. Security Matters
15. Working With Threads
16. A Look At Unsafe Code
17. XML Analysis

From that list of topics, is there any subject that a C# developer doesn't run into some issue with at some point?

I'm trying to write a longer, drawn out review about why you should pick up this book, but it's really hard to do so because I instantly found this book so useful.

Save yourself the time and aggravation and pick up "C# Cookbook" by Stephen Teilhet and Jay Jilyard, I can assure you that you will not regret it.

***** HIGHLY RECOMMENDED
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
23 of 25 people found the following review helpful:
5.0 out of 5 stars Buy it - yesterday, January 23, 2005
By David N. Thielen (Boulder, CO United States) - See all my reviews
(REAL NAME)   
This review is from: C# Cookbook (Paperback)
A friend lent me their copy of the book when I was trying to figure something out. Ten minutes later I ordered my own copy. This book is great.

What it is is for about 70 small programming problems, it shows you how to write it. Both the code and the explanation. So in many cases you can just copy the code. And if what you need is a little different, the explanation gives you the knowledge you need.

One note - I did find one place where the code they gave was more complex and less efficient than necessary. So it's not perfect. But the code they gave did work.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

4.0 out of 5 stars Wish I'd started with this
[Reviewed by XPSD member Steve Grubbs]

Summary

I wanted to check out a C# cookbook after developing in C# for almost a year. Read more
Published 11 months ago by XPSD

2.0 out of 5 stars Learn to boil water!
This is a good intro book that eliminates the need for some of the first books I bought on C#. When compared to other "cookbooks", however, this book is incredibly weak (see:... Read more
Published 13 months ago by Booked

5.0 out of 5 stars Clear, Concise and Detailed examples
I'm an intermediate coder, familiar with programming and I have about 1.5 years programming C#. I've already used this book(C# Cookbook 2nd edition) to write C# code navigating in... Read more
Published 16 months ago by B. Eisenhauer

5.0 out of 5 stars Great C# Reference Book
I came across a project that had to do with XML, and I came to love this book. It has a lot of suggestions that helped me jump start my project. Read more
Published 20 months ago by Aseiu P.

5.0 out of 5 stars Excellent!!!!
If you are just coming into C# or have been doing it for a while - it doesn't matter - BUY THIS BOOK!!! Read more
Published 22 months ago by Chris Kissel

5.0 out of 5 stars Good book
Being an advanced programmer I was looking for books to use as references or to further my skills. This book has proven a valuable asset.
Published 23 months ago by Ryan M. Moore

5.0 out of 5 stars Excellent C# 2.0 Resource
The C# Cookbook, Second Edition has been updated and revised for C# 2.0 and version 2.0 of the .NET framework, and despite the fact that version 3.5 of the . Read more
Published on July 12, 2007 by Mitchell Wheat

5.0 out of 5 stars Vital reference for solving problems and learning C#
Another book that's great as the occasional reference. This is another huge tome and it's chock full of topics from generics to security to XML. Read more
Published on April 14, 2007 by James Holmes

5.0 out of 5 stars Highly Useful
This is exactly the sort of book one needs when beginning a new programming language, and still useful later. It is a large comprehensive set of examples.
Published on February 18, 2007 by Douglas S. Ronne

5.0 out of 5 stars A "Must-Have" C# Reference
This book is fantastically useful. If you want to learn C# syntax, then pick up either "Programming C#" by Jesse Liberty or "Programming C# with Visual Studio" by Jeffrey Suddeth... Read more
Published on January 1, 2007 by Damon Slye

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Turn On the Savings

Home Improvement Value Center
Shop for bathroom faucets in the Home Improvement Value Center, where the savings can flow as much as 50% off brand-name products.

Shop the Value Center

 

Big Savings in Books

Bargain Books
Find great titles at fantastic prices in our Bargain Books Store.
 

A Breakthrough Performance

Shop for jackhammers
Whether you need to drill into rock or break up pavement, a jackhammer provides the force you need.

Shop for jackhammers now

 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Paranoia
Paranoia by Joseph Finder
My Soul to Lose
My Soul to Lose by Rachel Vincent
Glenn Beck's Common Sense
Finger Lickin' Fifteen
Finger Lickin' Fifteen by Janet Evanovich

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates