•
Table of Contents
•
Index
•
Reviews
•
Reader Reviews
•
Errata
Learning C#
By
Jesse Liberty
Publisher
: O'Reilly
Pub Date
: September 2002
ISBN
: 0-596-00376-5
Pages
: 368
Slots
: 1
Copyright
Preface
About This Book
Who This Book Is For
How the Book Is Organized
Conventions Used in This Book
Support
We'd Like to Hear from You
Acknowledgments
Chapter 1. C# and .NET Programming
Section 1.1. C# and .NET
Section 1.2. The .NET Platform
Section 1.3. The .NET Framework
Section 1.4. The C# Language
Section 1.5. The Structure of C# Applications
Section 1.6. The Development Environment
Chapter 2. Getting Started with C#
Section 2.1. What's in a Program?
Section 2.2. Your First Program: Hello World
Section 2.3. Examining Your First Program
Chapter 3. Object-Oriented Programming
Section 3.1. Creating Models
Section 3.2. Classes and Objects
Section 3.3. Defining a Class
Section 3.4. Class Relationships
Section 3.5. The Three Pillars of Object-Oriented Programming
Section 3.6. Encapsulation
Section 3.7. Specialization
Section 3.8. Polymorphism
Section 3.9. Object-Oriented Analysis and Design
Chapter 4. Visual Studio .NET
Section 4.1. Start Page
Section 4.2. Inside the Integrated Development Environment (IDE)
Section 4.3. IntelliSense
Section 4.4. Building and Running
Section 4.5. For More Information
Chapter 5. C# Language Fundamentals
Section 5.1. Types
Section 5.2. Variables
Section 5.3. Definite Assignment
Section 5.4. Constants
Section 5.5. Strings
Section 5.6. Statements
Section 5.7. Expressions
Section 5.8. Whitespace
Chapter 6. Branching
Section 6.1. Unconditional Branching Statements
Section 6.2. Conditional Branching Statements
Section 6.3. Iteration (Looping) Statements
Chapter 7. Operators
Section 7.1. The Assignment Operator (=)
Section 7.2. Mathematical Operators
Section 7.3. Increment and Decrement Operators
Section 7.4. Relational Operators
Chapter 8. Classes and Objects
Section 8.1. Defining Classes
Section 8.2. Method Arguments
Section 8.3. Constructors
Section 8.4. Initializers
Section 8.5. Copy Constructors
Section 8.6. The this Keyword
Section 8.7. Static and Instance Members
Section 8.8. Destroying Objects
Chapter 9. Inside Methods
Section 9.1. Overloading Methods
Section 9.2. Encapsulating Data with Properties
Section 9.3. Returning Multiple Values
Chapter 10. Basic Debugging
Section 10.1. Setting a Breakpoint
Section 10.2. The Call Stack
Chapter 11. Inheritance and Polymorphism
Section 11.1. Specialization and Generalization
Section 11.2. Inheritance
Section 11.3. Polymorphism
Section 11.4. Abstract Classes
Section 11.5. Sealed Classes
Section 11.6. The Root of All Classes: Object
Section 11.7. Boxing and Unboxing Types
Chapter 12. Operator Overloading
Section 12.1. Using the operator Keyword
Section 12.2. Creating Useful Operators
Section 12.3. Logical Pairs
Section 12.4. Conversion Operators
Chapter 13. Structs
Section 13.1. Defining a Struct
Chapter 14. Interfaces
Section 14.1. Implementing an Interface
Section 14.2. Implementing More Than One Interface
Section 14.3. Casting to an Interface
Section 14.4. Extending Interfaces
Section 14.5. Combining Interfaces
Section 14.6. Overriding Interface Implementations
Section 14.7. Explicit Interface Implementation
Chapter 15. Arrays
Section 15.1. Arrays
Section 15.2. Multidimensional Arrays
Section 15.3. System.Array
Section 15.4. Indexers
Chapter 16. Collection Interfaces and Types
Section 16.1. The Collection Interfaces
Section 16.2. Array Lists
Section 16.3. Queues
Section 16.4. Stacks
Section 16.5. Copying from a Collection Type to an Array
Chapter 17. Strings
Section 17.1. Creating Strings
Section 17.2. Manipulating Strings
Section 17.3. Regular Expressions
Section 17.4. The Regex Class
Chapter 18. Throwing and Catching Exceptions
Section 18.1. Throwing Exceptions
Section 18.2. Searching for an Exception Handler
Section 18.3. The throw Statement
Section 18.4. The try and catch Statements
Section 18.5. How the Call Stack Works
Section 18.6. Creating Dedicated catch Statements
Section 18.7. The finally Statement
Section 18.8. Exception Class Methods and Properties
Section 18.9. Custom Exceptions
Chapter 19. Delegates and Events
Section 19.1. Delegates
Section 19.2. Multicasting
Section 19.3. Events
Afterword
Where to Go from Here
Advanced Topics in C#
Web (ASP.NET) Programming
Windows Forms Programming
Other Resources
C# Keywords
A
B
C
D
E
F
G
I
L
N
O
P
R
S
T
U
V
W
Colophon
Index