C# in a Nutshell Paperback – Mar 11 2002
There is a newer edition of this item:
No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.
Getting the download link through email is temporarily not available. Please check back later.
To get the free app, enter your mobile phone number.
C# in a Nutshell was inevitable, much like the dawn or your liability for income tax. As the C# language has gathered speed--it's one of the languages that Microsoft encourages you to use for .NET development--its users have anticipated the release of an authoritative reference to the language and its key APIs. That's what this book is: a reference, meant to give you a few chapters on basic structure and syntax before launching into categorised and alphabetised listings of classes and their members. It's sufficiently well written and organised that, given experience with other distributed application environments and some knowledge of .NET, you could learn the language from this book alone. However, this is not a tutorial for people new to Microsoft programming, or new to network computing.
The syntax guide is clear and concise, with brief statements of what operators, data structures and syntax elements are for. There also are examples (both generic and with illustrative data) in that section. The API reference is organised by namespace (System, System.Collections, System.Reflection, System.XML, and so on), with each section containing an alphabetical list of members. Each listing includes syntax guides to the element's constructors, methods and properties, as well as a hierarchy statement and lists of other classes from which instances of the current member is returned and to which it is passed. Don't look for examples in the API reference, but the author's prose statements about the purpose of classes should help you along the way to a working application. --David Wall
Topics covered: the key System namespaces of the C# programming language and their most important members, covered in API reference format. Sections deal with (among others) System, System.Collections, System.NET, System.NET.Sockets, System.Runtime.Interopservices and System.XML. There's also a syntax guide and references to regular expressions and data marshalling in the C# language.
"Neither a "how-to" book nor a rehash of Microsoft's documentation, this latest addition to O'Reilly's Nutshell series goes to the source of the language and APIs to present content in a way that professional programmers will value above all other books. ... [This book] was written for the working C SHARP programmer who will be able to find answers to most questions of syntax and functionality that he or she encounters on the job. Experienced Java and C++ programmers encountering the C SHARP language and the CLR for the first time will be able to put this book to good use." Linux Magazine, July/August 2002 "...a 'fast-packed, no-fluff' introduction to both elementary and arcane features of C SHARP and .NET...Serious C SHARP programmers will find this to be an invaluable handy reference." PC Plus, November 2002See all Product Description
Top Customer Reviews
I like having a hard copy reference when I'm programming, so this book suits me fine. There are numerous example code snippets throughout the book to help you learn C#. In addition, the second edition also adds a CD that allows you to incorporate the book's Quick Reference directly into the help files of Visual Studio .NET. This gives you, the programmer, more options when you need help. It is also handy when you have left the book at home.
I'm an intermediate Java programmer who needed to make the conversion to C# for a particular project. "C# in a Nutshell" has assisted me in this aim, and as a result, I would recommend this book to anyone as a useful reference text.
Understanding this book is not a tutorial for the beginner will help acclimate yourself to what to expect. Even though the subtitle reads "A Desktop Reference" ample content exists to introduce beginning topics that lay the ground work for its reference sections.
The first nineteen chapters, approximately two hundred and nineteen pages, cover beginning topics such as .NET Framework and C# basics to advanced subjects including reflection, XML serialization, and threading. The remaining chapters are devoted to a quick reference to classes in the namespaces. Several topics that I'm interested in, including GDI+ were mentioned only briefly and then referred to related namespaces. I'm hoping that GDI+ and other UI related material are covered in more depth in O'reilly's ".NET Windows Forms in a Nutshell" offering or the next edition of "C# in a Nutshell".
Code examples in the book were sufficient to reinforce my understanding of each topic and the 'animal tracks' notes were a nice touch and more than mere filler. Other niceties include UML diagrams detailing the namespace structures, DLL / namespace associations, and the C# API Quick Reference encapsulated in a Visual Studio.Read more ›
C# in a Nutshell scores high marks in both the brevity and correctness categories. Humorous as it might be to label an 830-page book as brief, it actually qualifies as such. The main discussion of the language is kept to the first 270 pages, with an average of about 20 pages devoted to each subject. Only the essentials are discussed, and that will usually be enough when you need to quickly look up how to do something. The remaining 560 pages are devoted to a Quick Reference of the .NET framework classes. While reading the text, I never came across any glaring inconsistencies, such as conflicting descriptions of how to accomplish a task, which leads me to suspect that the text is mostly correct. The few actual tests I ran worked as expected. On a superficial level, I found the content credible.
When it came to completeness, I wasn't as impressed. As a reader, I have somewhat of a personal bias: I'm pretty familiar with both C++ and Java.Read more ›
Section I (chapter 1- 4) summarizes key concepts of the C# language, illustrated with succinct code.
Section II (Chapter 5 to 19) covers programming using the Framework Class Library, such as String, Collections, Streams and I/O, Serialization, Assemblies, Reflection, Custom Attributes, Garbage Collection, Threading and Interop.
I felt that each topic discussion is a little too brief and many important topics mentioned in the overview section of the book are not discussed at all, such as graphics, data access with ADO.NET, Remoting, Window Forms, Web Application, globalization, Configuration.
In section III, some useful .NET Framework SDK tools are covered, which is very helpful.
The last section is detailed listing of the most important core types/classes of the .NET framework. I like the UML diagrams illustrating class hierarchy and relationships.
Personally I would like to see some code samples under important types.
The book is 832 pages thick, I hope the future edition will add the missing topics mentioned above and more code, making it a 1,000 page reference book. -- Reviewed by Timothy D.
Most recent customer reviews
When I need to learn a language, the last thing I want is a book that tries to teach it to me. Their teaching jut gets in the way of my learning. Read morePublished on Nov. 11 2003 by wiredweird
This newly introduced "C# in a Nutshell" provides all the basic information most programmers would need on both C# and general .NET programming. Read morePublished on Jan. 19 2003 by reviewer
I have other nutshell books and find them to be the most used books on my bookshelf. This book is no exception. You should get this one even if you have other C# books.Published on Dec 5 2002 by Delphi Guru
As usual, O'Reilly delivered an excellent "in a nutshell" book for a C# programmer. Many complain that some of the namespace were left out, like ADO.NET ones. Read morePublished on Sept. 16 2002
Of course it omits a few major namespaces (i.e., System.Web for ASP.NET Web Services) however this book is an *excellent* C# language reference and tons of details on the major... Read morePublished on Aug. 2 2002 by Kenneth Papai
I'm the publisher of "C# in a Nutshell" and given my admitted interest in the success of this book I would not ordinarily post a comment in this space. Read morePublished on July 15 2002 by John Osborn
As other Nutshell books that i loved, this one is exceptional too. Quick reference to the language features, the detail reference layout for most classes. Read morePublished on May 1 2002
Look for similar items by category
- Books > Computers & Technology > Microsoft > Development > C & C++ Windows Programming
- Books > Computers & Technology > Programming > C
- Books > Computers & Technology > Programming > Languages & Tools > C#
- Books > Computers & Technology > Software
- Books > Textbooks > Computer Science & Information Systems > Programming Languages