Please consider the latest edition.
-
Programming with C#
-
Chapter 1 Introducing C# and the .NET Framework
- The C# Language
- The .NET Framework
- ECMA Standardization
-
Chapter 2 C# Language Basics
- A First C# Program
- Identifiers and Keywords
- Type Basics
- Value Types and Reference Types
- Predefined Types
- Arrays
- Variables and Parameters
- Expressions and Operators
- Statements
- Namespaces
-
Chapter 3 Creating Types in C#
- Classes
- Inheritance
- Access Modifiers
- Structs
- Interfaces
- Enums
-
Chapter 4 Advanced C# Features
- Delegates
- Delegates Versus Function Pointers
- Delegates Versus Interfaces
- Events
- Operator Overloading
- Try Statements and Exceptions
- Attributes
- Unsafe Code and Pointers
- Preprocessor Directives
- XML Documentation
-
-
Programming with the .NET Framework
-
Chapter 5 Framework Class Library Overview
- Core Types
- Text
- Collections
- Streams and I/O
- Networking
- Threading
- Security
- Reflection and Metadata
- Assemblies
- Serialization
- Remoting
- Web Services
- Data Access
- XML
- Graphics
- Rich Client Applications
- Web-Based Applications
- Globalization
- Configuration
- Advanced Component Services
- Diagnostics and Debugging
- Interoperating with Unmanaged Code
- Compiler and Tool Support
- Runtime Facilities
- Native OS Facilities
- Undocumented Types
-
Chapter 6 String Handling
- String Class
- StringBuilder Class
- Regular Expression Support
- Regular Expression Basics
- Procedural- and Expression-Based Patterns
- Cookbook Regular Expressions
-
Chapter 7 Collections
- Iterating Over Collections
- Standard Collection Interfaces
- Predefined Collection Classes
- Ordering Instances
- Generating Hash Code
-
Chapter 8 XML I/O
- Accessing XML Documents
- Parsing an XML Stream
- Selecting Nodes Using XPath
- Transforming a Document Using XSLT
-
Chapter 9 Networking
- Network Programming Models
- Generic Request/Response Architecture
- HTTP-Specific Support
- WebClient
- Adding New Protocol Handlers
- Using TCP, UDP, and Sockets
- Using DNS
-
Chapter 10 Streams and I/O
- Streams and Backing Stores
- Encapsulating Raw Streams
- Directories and Files
- Isolated Storage
-
Chapter 11 Serialization
- What Is Serialization?
- Serialization Support in the Framework
- Explicit Serialization
- Implicit Serialization
- [Serializable]
- [NonSerialized]
- IDeserializationCallback
- ISerializable
- [Serializable] and ISerializable
-
Chapter 12 Assemblies
- Elements of an Assembly
- Assemblies and Modules
- Scoping Types and Type References
- Naming and Signing Assemblies
- Resolving and Loading Assemblies
- Deployment
- Security Permissions
-
Chapter 13 Reflection
- Type Hierarchy
- Types, Members, and Nested Types
- Retrieving the Type for an Instance
- Retrieving a Type Directly
- Reflecting Over a Type Hierarchy
- Late Binding
- Advanced Uses of Reflection
- Creating New Types at Runtime
-
Chapter 14 Custom Attributes
- Language Support
- Compiler Support
- Runtime Support
- Predefined Attributes
- Defining a New Custom Attribute
- Retrieving a Custom Attribute at Runtime
-
Chapter 15 Memory Management
- The Garbage Collector
- Optimization Techniques
- Finalizers
- Dispose and Close Methods
-
Chapter 16 Threading
- Thread Synchronization
- Common Thread Types
- Asynchronous Delegates
-
Chapter 17 Integrating with Native DLLs
- Calling Into DLLs
- Marshaling Common Types
- Marshaling Classes and Structs
- In and Out Marshaling
- Callbacks from Unmanaged Code
- Simulating a C Union
- Mapping a Struct to a Binary Format
- Predefined Interop Support Attributes
-
Chapter 18 Integrating with COM Components
- Binding COM and C# Objects
- Exposing COM Objects to C#
- Exposing C# Objects to COM
- COM Mapping in C#
- Common COM Interop Support Attributes
- COM+ Support
-
Chapter 19 Diagnostics
- Logging and Assertion Facilities
- Conditional Compilation
- Debugger Integration
- Processes, Threads, and Stacks
- Event Logs
- Performance Counters
-
-
Language and Tools Reference
-
Chapter 20 C# Language Reference
-
Chapter 21 XML Documentation Tag Reference
-
Chapter 22 C# Naming and Coding Conventions
- Case
- Mechanics
- Word Choice
- Namespaces
-
Chapter 23 C# Development Tools
-
-
API Quick Reference
-
Chapter 24 How to Use This Quick Reference
- Finding a Quick-Reference Entry
- Reading a Quick-Reference Entry
-
Chapter 25 Microsoft.Win32
-
Chapter 26 System
-
Chapter 27 System.Collections
-
Chapter 28 System.Collections.Specialized
-
Chapter 29 System.Diagnostics
-
Chapter 30 System.Globalization
-
Chapter 31 System.IO
-
Chapter 32 System.IO.IsolatedStorage
-
Chapter 33 System.Net
-
Chapter 34 System.Net.Sockets
-
Chapter 35 System.Reflection
-
Chapter 36 System.Reflection.Emit
-
Chapter 37 System.Runtime.InteropServices
-
Chapter 38 System.Runtime.Serialization
-
Chapter 39 System.Runtime.Serialization.Formatters
-
Chapter 40 System.Text
-
Chapter 41 System.Text.RegularExpressions
-
Chapter 42 System.Threading
-
Chapter 43 System.Timers
-
Chapter 44 System.Xml
-
Chapter 45 System.Xml.XPath
-
Chapter 46 System.Xml.Xsl
-
-
Appendixes
-
Appendix A Regular Expressions
-
Appendix B Format Specifiers
- Picture Format Specifiers
- DateTime Format Specifiers
-
Appendix C Data Marshaling
-
Appendix D C# Keywords
-
Appendix E Namespaces and Assemblies
-
-
Colophon
- Title:
- C# in a Nutshell
- By:
- Peter Drayton, Ben Albahari, Ted Neward
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- March 2002
- Pages:
- 864
- Print ISBN:
- 978-0-596-00181-0
- | ISBN 10:
- 0-596-00181-9
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of C# in a Nutshell is a numidian crane. The numidian crane (Antropoides virgo) is also called the demoiselle crane because of its grace and symmetry. This species of crane is native to Europe and Asia and migrates to India, Pakistan, and northeast Africa in the winter.
Though numidian cranes are the smallest cranes, they defend their territories as aggressively as other crane species, using their loud voices to warn others of trespassing. If necessary, they will fight. Numidian cranes nest in uplands rather than wetlands and will even live in the desert if there is water within 200 to 500 meters. They sometimes make nests out of pebbles in which to lay their eggs, though more often they will lay eggs directly on the ground, protected only by spotty vegetation.
Numidian cranes are considered a symbol of good luck in some countries and are sometimes even protected by law. Darren Kelly was the production editor, and Mary Brady was the copyeditor for C# in a Nutshell. Matt Hutchinson and Claire Cloutier provided quality control. Interior composition was done by Philip Dangler. Nancy Crumpton wrote the index. Emma Colby designed the cover of this book, based on a series design by Edie Freedman. The cover image is an original engraving from the 19th century. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.
David Futato designed the interior layout based on a series design by Nancy Priest. The print version of this book was created by translating the DocBook XML markup of its source files into a set of gtroff macros using a filter developed at O'Reilly & Associates by Norman Walsh. Steve Talbott designed and wrote the underlying macro set on the basis of the GNU troff -gs macros; Lenny Muellner adapted them to XML and implemented the book design. Neil Walls converted some of the files from Microsoft Word to XML. The GNU groff text formatter version 1.11.1 was used to generate PostScript output. The text and heading fonts are ITC Garamond Light and Garamond Book. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. This colophon was written by Linley Dolby.
