Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Colour:
Image not available

 
Tell the Publisher!
Id like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

C# Cookbook [Paperback]

Stephen Teilhet , Jay Hilyard
4.0 out of 5 stars  See all reviews (1 customer review)

Available from these sellers.


Formats

Amazon Price New from Used from
Paperback --  
Amazon.co.uk Trade-In Store
Did you know you can use your mobile to trade in your unwanted books for an Amazon.co.uk Gift Card to spend on the things you want? Visit the Books Trade-In Store for more details or check out the Trade-In Amazon Mobile App Guidelines on how to trade in using a smartphone. Learn more.
There is a newer edition of this item:
C# 3.0 Cookbook C# 3.0 Cookbook 3.0 out of 5 stars (1)
36.72
In stock.

Book Description

31 Jan 2004 0596003390 978-0596003395 1

Easy to learn and use, the C# language is targeted at developers for Microsoft's .NET platform who've worked with a C-like language before, such as C, C++, or Java. There's no shortage of excellent tutorials and documentation to help new developers get a handle on the language, such as O'Reilly's Learning C# or Programming C#. But when you need practical answers to the day-to-day questions you run up against, a tutorial isn't going to do the trick. The C# Cookbook gets straight to the heart of the problem with code recipes collected especially for developers working on the .NET platform.

The C# Cookbook offers a definitive collection of solutions and examples for this new programming language. Recipes range from simple tasks to the more complex, and are organized with respect to the types of problems you'll need to solve as you progress in your experience as a C# programmer. Nearly every recipe contains a complete, documented code sample showing you how to solve the specific problem, as well as a discussion of how the underlying technology works and a discussion of alternatives, limitations, and other considerations where appropriate.

The recipes in the C# Cookbook are organized into seventeen chapters, each of which focuses on a particular topic in creating C# solutions. Among the topics covered, you'll find:

  • Numeric data types in C#
  • Strings and characters
  • Classes and structures
  • Exception handling
  • Delegates and events
  • Regular expressions
  • Data structures and algorithms
  • Networking
  • Security
  • Unsafe Code
You don't need to be an experienced C# or .NET developer to use this book. The C# Cookbook is designed for users of all levels with recipes targeted at the real-world developer who needs to solve problems now, not learn lots of theory first. With this guide, all developers will be able to learn and improve their mastery of both the language and the .NET Framework Class Libraries.


Product details

  • Paperback: 864 pages
  • Publisher: O'Reilly Media; 1 edition (31 Jan 2004)
  • Language: English
  • ISBN-10: 0596003390
  • ISBN-13: 978-0596003395
  • Product Dimensions: 23.8 x 17.4 x 3.9 cm
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: 1,246,308 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Authors

Discover books, learn about writers, and more.

Product Description

Book Description

350 Solutions for C# Programmers --This text refers to an out of print or unavailable edition of this title.

From the Publisher

Completely revised for C# 2.0, this updated bestseller offers more than 100 new code solutions to common problems 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. Covers .NET Framework Class Libraries, interoperability, design patterns, and much more! --This text refers to an out of print or unavailable edition of this title.

Inside This Book (Learn More)
Browse and search another edition of this book.
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

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

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

5 star
0
3 star
0
2 star
0
1 star
0
4.0 out of 5 stars
4.0 out of 5 stars
Most Helpful Customer Reviews
4.0 out of 5 stars C# Cookbook, Stephen Teilhet 2 Sep 2013
Format:Paperback|Verified Purchase
Excellent, sections for all the main topics, with plenty of code examples in each, and a thorough discussion of the concepts involved.
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 4.6 out of 5 stars  20 reviews
27 of 29 people found the following review helpful
4.0 out of 5 stars Great addition to your C# library 22 April 2004
By ueberhund - Published on Amazon.com
Format: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.
20 of 21 people found the following review helpful
5.0 out of 5 stars Outstanding C# Reference Book 22 Sep 2005
By Dan McKinnon - Published on Amazon.com
Format: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
21 of 23 people found the following review helpful
5.0 out of 5 stars Buy it - yesterday 23 Jan 2005
By David N. Thielen - Published on Amazon.com
Format:Paperback|Verified Purchase
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.
8 of 8 people found the following review helpful
4.0 out of 5 stars Fine Recipes for "Well Done" Code 20 Feb 2006
By Adnan Masood - Published on Amazon.com
Format:Paperback
I use O'Reilly's cookbooks for two purposes; first to find out ways to do task at hand in a better way and second to explore the feature set a programming language has to offer. From a developer's mindset an annotated reference to a programming language may not be much helpful as compared to seeing code-in-action. I can read all about observer design pattern and the file system watcher class but having an code segment showing the implementation is priceless; so is "Replacing the stack and queue with their generic counter parts", spiffy eh?

The book is well done and authors have covered a whole lot in over 1100 pages including threading, unsafe code, XML, networking, delegates and regular expression recipes. My favorite recipe as a language features creep would be 9.15, "Using Closures in C#". (Closure is a function that refers to free variables in its lexical context).

Having said that, I'm missing things like SOAP extensions, serialization and small nitpick http request / response spoofing techniques in there which us developers do much often and hence the 4 stars. But if you are working with C# and want something more than a Google search (for instance knowing that secure strings won't work unless you have Win2K sp3 or higher), buying this book would be a wise thing to do.
3 of 3 people found the following review helpful
5.0 out of 5 stars Excellent C# 2.0 Resource 12 July 2007
By Mitchell Wheat - Published on Amazon.com
Format:Paperback
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 .NET framework is imminent, it remains a must have book to have on hand. It is essentially a collection of examples showing how to solve specific programming problems (some of which you might not have even realised you have, such as boxing/unboxing and efficient string handling, to name just a few...)

The C# Cookbook has over 1100 pages and is arranged into 20 chapters, each of which focuses on a particular area in C#. Despite its size it is not daunting to read. Here are the topics covered:

1. Numbers and Enumerations
2. Strings and Characters
3. Classes & Structures
4. Generics
5. Collections
6. Iterators and Partial Types
7. Exception Handling
8. Diagnostics
9. Delegates, Events and Anonymous methods
10. Regular Expressions
11. Data Structures and Algorithms
12. Filesystem I/O
13. Reflection
14. Web
15. XML
16. Networking
17. Security
18. Threading and Synchronisation
19. Unsafe Code
20. Toolbox

This book is in O'Reilly's `cookbook' series Problem-Solution-Discussion format, and like other books in the series can either be read from cover to cover, or be used as a reference to shed light on a particular problem. Each `recipe' starts with a description of the problem, followed by a complete, documented code sample showing you how to solve it, along with a detailed discussion of how and why it works, and any drawbacks. This format can also serve as an excellent way of mastering aspects of C#.

Like the other O'Reilly cookbooks, this book manages to strike a perfect balance between reference and instruction on real problems developers encounter every day. Hats off to Jay and Stephen for creating such a useful resource.

If you are a developer who writes C# code for a living, I would be surprised if you do not find something useful the first time you pick this book up. If you are thinking of buying just one book on C# 2.0, make it this one. Highly recommended for beginners and experts alike.

[...]
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews
ARRAY(0xa8969c00)

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

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

Search Customer Discussions
Search all Amazon discussions
   


Look for similar items by category


Feedback