-
Chapter 1 C# and .NET Programming
-
C# and .NET
-
The .NET Platform
-
The .NET Framework
-
The C# Language
-
The Structure of C# Applications
-
The Development Environment
-
-
Chapter 2 Getting Started with C#
-
What's in a Program?
-
Your First Program: Hello World
-
Examining Your First Program
-
-
Chapter 3 Object-Oriented Programming
-
Creating Models
-
Classes and Objects
-
Defining a Class
-
Class Relationships
-
The Three Pillars of Object-Oriented Programming
-
Encapsulation
-
Specialization
-
Polymorphism
-
Object-Oriented Analysis and Design
-
-
Chapter 4 Visual Studio .NET
-
Start Page
-
Inside the Integrated Development Environment (IDE)
-
IntelliSense
-
Building and Running
-
For More Information
-
-
Chapter 5 C# Language Fundamentals
-
Types
-
Variables
-
Definite Assignment
-
Constants
-
Strings
-
Statements
-
Expressions
-
Whitespace
-
-
Chapter 6 Branching
-
Unconditional Branching Statements
-
Conditional Branching Statements
-
Iteration (Looping) Statements
-
-
Chapter 7 Operators
-
The Assignment Operator (=)
-
Mathematical Operators
-
Increment and Decrement Operators
-
Relational Operators
-
-
Chapter 8 Classes and Objects
-
Defining Classes
-
Method Arguments
-
Constructors
-
Initializers
-
Copy Constructors
-
The this Keyword
-
Static and Instance Members
-
Destroying Objects
-
-
Chapter 9 Inside Methods
-
Overloading Methods
-
Encapsulating Data with Properties
-
Returning Multiple Values
-
-
Chapter 10 Basic Debugging
-
Setting a Breakpoint
-
The Call Stack
-
-
Chapter 11 Inheritance and Polymorphism
-
Specialization and Generalization
-
Inheritance
-
Polymorphism
-
Abstract Classes
-
Sealed Classes
-
The Root of All Classes: Object
-
Boxing and Unboxing Types
-
-
Chapter 12 Operator Overloading
-
Using the operator Keyword
-
Creating Useful Operators
-
Logical Pairs
-
Conversion Operators
-
-
Chapter 13 Structs
-
Defining a Struct
-
-
Chapter 14 Interfaces
-
Implementing an Interface
-
Implementing More Than One Interface
-
Casting to an Interface
-
Extending Interfaces
-
Combining Interfaces
-
Overriding Interface Implementations
-
Explicit Interface Implementation
-
-
Chapter 15 Arrays
-
Arrays
-
Multidimensional Arrays
-
System.Array
-
Indexers
-
-
Chapter 16 Collection Interfaces and Types
-
The Collection Interfaces
-
Array Lists
-
Queues
-
Stacks
-
Copying from a Collection Type to an Array
-
-
Chapter 17 Strings
-
Creating Strings
-
Manipulating Strings
-
Regular Expressions
-
The Regex Class
-
-
Chapter 18 Throwing and Catching Exceptions
-
Throwing Exceptions
-
Searching for an Exception Handler
-
The throw Statement
-
The try and catch Statements
-
How the Call Stack Works
-
Creating Dedicated catch Statements
-
The finally Statement
-
Exception Class Methods and Properties
-
Custom Exceptions
-
-
Chapter 19 Delegates and Events
-
Delegates
-
Multicasting
-
Events
-
-
Chapter Afterword
-
Where to Go from Here
-
Advanced Topics in C#
-
Web (ASP.NET) Programming
-
Windows Forms Programming
-
Other Resources
-
-
C# Keywords
-
Colophon
- Title:
- Learning C#
- By:
- Jesse Liberty
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- September 2002
- Pages:
- 368
- Print ISBN:
- 978-0-596-00376-0
- | ISBN 10:
- 0-596-00376-5
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 Learning C# is a goldfish. Goldfish are freshwater fish popular in aquariums and ponds. Though they are native to China, goldfish are one of the most common household pets all over the world. They were first domesticated centuries ago when it was discovered that carp, which are usually olivecolored, can have color mutations causing some of their scales to be red or gold. These mutated fish were bred to create many different varieties of goldfish, including the oranda, ryukin, lionhead, pearlscale, telescoped eye, and bubble eye types.
Most commercial goldfish are scaled and have metallic red, gold, white, silver, or black sheens. But the more rare "scaleless" fish have transparent scales, making them appear bright red, blue, purple, or calico-patterned. Though the wild carp from which goldfish are bred can measure up to 16 inches in length, most commercial goldfish are between 1 and 4 inches long. Darren Kelly was the production editor, Catherine Morris was the copyeditor, and Sheryl Avruch was the proofreader for Learning C#. Tatiana Apandi Diaz and Claire Cloutier provided quality control. Interior composition was done by Philip Dangler and Genevieve d'Entremont. Angela Howard wrote the index.
Hanna Dyer designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.
David Futato designed the interior layout. This book was converted 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 Lucas-Font's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Linley Dolby.
