|
|||||||||||||||||||||||||||||||||||
|
21 Reviews
|
Average Customer Review
Share your thoughts with other customers
Create your own review
|
|
Most Helpful First | Newest First
|
|
25 of 27 people found the following review helpful:
4.0 out of 5 stars
Great addition to your C# library,
By
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.
20 of 21 people found the following review helpful:
5.0 out of 5 stars
Outstanding C# Reference Book,
By
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
20 of 22 people found the following review helpful:
5.0 out of 5 stars
Buy it - yesterday,
By
Amazon Verified Purchase(What's this?)
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.
8 of 8 people found the following review helpful:
4.0 out of 5 stars
Fine Recipes for "Well Done" Code,
By
This review is from: C# Cookbook, 2nd Edition (Cookbooks (O'Reilly)) (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,
By
This review is from: C# Cookbook, 2nd Edition (Cookbooks (O'Reilly)) (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. [...]
3 of 3 people found the following review helpful:
5.0 out of 5 stars
Vital reference for solving problems and learning C#,
By James Holmes "Co-Author 'Windows Developer Po... (South Central Ohio) - See all my reviews (REAL NAME)
This review is from: C# Cookbook, 2nd Edition (Cookbooks (O'Reilly)) (Paperback)
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.
Each topic is a recipe in a Problem/Solution/Discussion/See Also format. The solution is a snippet or set of snippets to solve the specific problem and the discussion is s walkthrough of the ins and outs of both the problem and how the solution fits the bill. Occasionally there's a good discussion of the pros and cons of solutions. This isn't a book for reading cover to cover, but there's a lot to be learned browsing through the recipes, and you're sure to get answers on a wide range of topics including solid use of generics, exception handling, I/O, web bits, and networking. The chapters on security and reflection are particularly useful because they offer up good insights on approaching secure coding correctly and good techniques for dealing with reflection.
3 of 3 people found the following review helpful:
5.0 out of 5 stars
A Must Have C# Reference,
By
This review is from: C# Cookbook (Paperback)
Jay Hilyard and Stephen Teilhet have put together an outstanding collection of C# sample code. Newly revised and updated for C# 2.0 (it covers generics), the book is aimed at intermediate and advanced developers who wants a slew of sample code at their fingertips (all is downloadable, of course).
With 20 chapters, each consisting of between 10 and 30 "recipes," C# Cookbook extends to the level of detail not seen in tutorial books or standard references. This book provides completed, debugged code snippets ready to use in your applications. From simple tasks like "Determining if a File Exists" to more advanced ones like "Using Event Logs in Your Application," I expect to use this book extensively.
7 of 9 people found the following review helpful:
5.0 out of 5 stars
COOKING WITH C#!!,
By
This review is from: C# Cookbook, 2nd Edition (Cookbooks (O'Reilly)) (Paperback)
Are you an experienced C# or .NET developer? If you are, then this book is for you! Authors Jay Hilyard and Stephen Teilhet, have done an outstanding job of writing a second edition of a book that was put together based on programming problems that the authors ran into when they were first learning C# as well as during their continued use of it.
Hilyard and Teilhet, begin by focusing on the numeric and enumeration data types used in C# code. Then, the authors cover both the String and Char data types. Next, they cover a wide range of recipes from design patterns to converting a class to interoperating with COM. The authors then focus on the new generics capacity of C#, which allows you have code operate uniformly on values of different types. They continue by examining recipes that make use of collections. Then, the authors use two new features of C# to solve very different programming problems. Next, they show you how to implement exception handling in your application. The authors then explore recipes that use data types that fall under the System.Diagnostics namespace. They continue by showing you how delegates, events, and anonymous methods can be used in your applications. They also cover a very useful set of classes that are used to run regular expressions against strings. Then the authors show you how to implement certain data structures and algorithms that are not in the FCL. Next, they deal with filesystem interactions in four distinct ways. The authors show you ways to use the built-in assembly inspection system provided by the .NET Framework to determine what types, interfaces, and methods are implemented within an assembly and how to access them in a late-bound fashion. Then, they cover accessing a web site and its content as well as programmatically determining web site configuration. Next, the authors explore some of the uses for XML. The authors then explore the connectivity options provided by the .NET Framework. They continue by exploring areas such as controlling access to types, encryption and decryption, random numbers, securely storing data, and using programmatic and declarative security. Then, the authors address the subject of using multiple threads of execution in a .NET program. Next, they discuss how C# allows you to step outside of the safe environment of managed code and write code that is considered unsafe by the .NET Framework. Finally, they help you how to determine locations of system resources, sending e-mail, and working with services. This most excellent book is laid out with respect to the types of problems you will solve as you progress through your life as a C# programmer. More importantly, nearly every recipe contained in this book shows you how to solve a specific problem.
2 of 2 people found the following review helpful:
5.0 out of 5 stars
Great C# Reference Book,
This review is from: C# Cookbook, 2nd Edition (Cookbooks (O'Reilly)) (Paperback)
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.
I wouldn't recommend this book to learn C#- (pick up John Sharp C# step by step for that.)
2 of 2 people found the following review helpful:
5.0 out of 5 stars
Excellent!!!!,
This review is from: C# Cookbook, 2nd Edition (Cookbooks (O'Reilly)) (Paperback)
If you are just coming into C# or have been doing it for a while - it doesn't matter - BUY THIS BOOK!!! Oreilly as we all know, makes very good tech/programming books and this one is one of the best I've had so far. This will be a book that will spend much less time on my shelf and much more time next to me on my desk.
|
|
Most Helpful First | Newest First
|
|
C# Cookbook, 2nd Edition (Cookbooks (O'Reilly)) by Stephen Teilhet (Paperback - February 6, 2006)
Used & New from: $0.04
| ||