Please consider the latest edition.
-
The C# Language
-
Chapter 1 C# and the .NET Framework
- The .NET Platform
- The .NET Framework
- Compilation and the MSIL
- The C# Language
-
Chapter 2 Getting Started: "Hello World"
- Classes, Objects, and Types
- Developing "Hello World"
- Using the Visual Studio .NET Debugger
-
Chapter 3 C# Language Fundamentals
- Types
- Variables and Constants
- Expressions
- Whitespace
- Statements
- Operators
- Preprocessor Directives
-
Chapter 4 Classes and Objects
- Defining Classes
- Creating Objects
- Using Static Members
- Destroying Objects
- Passing Parameters
- Overloading Methods and Constructors
- Encapsulating Data with Properties
- readonly Fields
-
Chapter 5 Inheritance and Polymorphism
- Specialization and Generalization
- Inheritance
- Polymorphism
- Abstract Classes
- The Root of All Classes: Object
- Boxing and Unboxing Types
- Nesting Classes
-
Chapter 6 Operator Overloading
- Using the operator Keyword
- Supporting Other .NET Languages
- Creating Useful Operators
- Logical Pairs
- The Equality Operator
- Conversion Operators
-
Chapter 7 Structs
- Defining Structs
- Creating Structs
-
Chapter 8 Interfaces
- Defining and Implementing an Interface
- Accessing Interface Methods
- Overriding Interface Implementations
- Explicit Interface Implementation
-
Chapter 9 Arrays, Indexers, and Collections
- Arrays
- The foreach Statement
- Indexers
- Collection Interfaces
- Constraints
- List<T>
- Queues
- Stacks
- Dictionaries
-
Chapter 10 Strings and Regular Expressions
- Strings
- Regular Expressions
-
Chapter 11 Handling Exceptions
- Throwing and Catching Exceptions
- Exception Objects
- Custom Exceptions
- Rethrowing Exceptions
-
Chapter 12 Delegates and Events
- Delegates
- Multicasting
- Events
- Using Anonymous Methods
- Retrieving Values from Multicast Delegates
-
-
Programming with C#
-
Chapter 13 Building Windows Applications
- Creating a Simple Windows Form
- Creating a Windows Forms Application
- XML Documentation Comments
-
Chapter 14 Accessing Data with ADO.NET
- Relational Databases and SQL
- The ADO.NET Object Model
- Getting Started with ADO.NET
- Using OLE DB Managed Providers
- Working with Data-Bound Controls
-
Chapter 15 Programming ASP.NET Applications and Web Services
- Understanding Web Forms
- Creating a Web Form
- Adding Controls
- Data Binding
- Web Services
- SOAP, WSDL, and Discovery
- Building a Web Service
- Creating the Proxy
-
Chapter 16 Putting It All Together
- The Overall Design
- Creating the Web Services Client
- Displaying the Output
- Searching by Category
-
-
The CLR and the .NET Framework
-
Chapter 17 Assemblies and Versioning
- PE Files
- Metadata
- Security Boundary
- Manifests
- Multimodule Assemblies
- Private Assemblies
- Shared Assemblies
-
Chapter 18 Attributes and Reflection
- Attributes
- Reflection
-
Chapter 19 Marshaling and Remoting
- Application Domains
- Context
- Remoting
-
Chapter 20 Threads and Synchronization
- Threads
- Synchronization
- Race Conditions and Deadlocks
-
Chapter 21 Streams
- Files and Directories
- Reading and Writing Data
- Asynchronous I/O
- Network I/O
- Web Streams
- Serialization
- Isolated Storage
-
Chapter 22 Programming .NET and COM
- Importing ActiveX Controls
- Importing COM Components
- Exporting .NET Components
- P/Invoke
- Pointers
-
-
Appendix A C# Keywords
-
Colophon
- Title:
- Programming C#, Fourth Edition
- By:
- Jesse Liberty
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- February 2005
- Ebook Release:
- February 2009
- Pages:
- 672
- Print ISBN:
- 978-0-596-00699-0
- | ISBN 10:
- 0-596-00699-3
- Ebook ISBN:
- 978-0-596-10470-2
- | ISBN 10:
- 0-596-10470-7
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 Programming C#, Fourth Edition, is an African crowned crane. This tall, skinny bird wanders the marshes and grasslands of west and east Africa (the Western and Eastern African crowned cranes, Balearica pavonia pavonia and Balearica regulorum gibbericeps, respectively).
Adult birds stand about three feet tall and weigh six to nine pounds. Inside their long necks is a five-foot long windpipe--part of which is coiled inside their breastbone--giving voice to loud calls that can carry for miles. They live for about 22 years, spending most of their waking hours looking for the various plants, small animals, and insects they like to eat. (One crowned crane food-finding technique, perfected during the 38 to 54 million years these birds have existed, is to stamp their feet as they walk, flushing out tasty bugs.) They are the only type of crane to perch in trees, which they do at night when sleeping.
Social and talkative, African crowned cranes group together in pairs or families, and the smaller groups band together in flocks of more than 100 birds. Their elaborate mating dance has served as a model for some of the dances of local people. Mary Anne Weeks Mayo was the production editor, and Audrey Doyle was the copyeditor for Programming C#, Fourth Edition. Jamie Peppard, Matt Hutchinson, and Claire Cloutier provided quality control. Lydia Onofrei and Keith Fahlgren provided production assistance. Ellen Troutman Zaig wrote the index.
Ellie Volckhausen 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 Adobe InDesign CS using Adobe's ITC Garamond font.
David Futato designed the interior layout. This book was converted by Julie Hawks to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano, Jessamyn Read, and Lesley Borash using Macromedia FreeHand MX and Adobe Photoshop CS. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Leanne Soylemez.
