| |
| |
Preface | |
| |
| |
| |
The C# Language | |
| |
| |
| |
C# and the .NET Framework | |
| |
| |
The .NET Platform | |
| |
| |
The .NET Framework | |
| |
| |
Compilation and the MSIL | |
| |
| |
The C# Language | |
| |
| |
| |
Getting Started: "Hello World" | |
| |
| |
Classes, Objects, and Types | |
| |
| |
Developing "Hello World" | |
| |
| |
Using the Visual Studio .NET Debugger | |
| |
| |
| |
C# Language Fundamentals | |
| |
| |
Types | |
| |
| |
Variables and Constants | |
| |
| |
Expressions | |
| |
| |
Whitespace | |
| |
| |
Statements | |
| |
| |
Operators | |
| |
| |
Namespaces | |
| |
| |
Preprocessor Directives | |
| |
| |
| |
Classes and Objects | |
| |
| |
Defining Classes | |
| |
| |
Creating Objects | |
| |
| |
Using Static Members | |
| |
| |
Destroying Objects | |
| |
| |
Passing Parameters | |
| |
| |
Overloading Methods and Constructors | |
| |
| |
Encapsulating Data with Properties | |
| |
| |
Readonly Fields | |
| |
| |
| |
Inheritance and Polymorphism | |
| |
| |
Specialization and Generalization | |
| |
| |
Inheritance | |
| |
| |
Polymorphism | |
| |
| |
Abstract Classes | |
| |
| |
The Root of all Classes: Object | |
| |
| |
Boxing and Unboxing Types | |
| |
| |
Nesting Classes | |
| |
| |
| |
Operator Overloading | |
| |
| |
Using the operator Keyword | |
| |
| |
Supporting Other .NET Languages | |
| |
| |
Creating Useful Operators | |
| |
| |
Logical Pairs | |
| |
| |
The Equals Operator | |
| |
| |
Conversion Operators | |
| |
| |
| |
Structs | |
| |
| |
Defining Structs | |
| |
| |
Creating Structs | |
| |
| |
| |
Interfaces | |
| |
| |
Implementing an Interface | |
| |
| |
Accessing Interface Methods | |
| |
| |
Overriding Interface Implementations | |
| |
| |
Explicit Interface Implementation | |
| |
| |
| |
Arrays, Indexers, and Collections | |
| |
| |
Arrays | |
| |
| |
The foreach Statement | |
| |
| |
Indexers | |
| |
| |
Collection Interfaces | |
| |
| |
Array Lists | |
| |
| |
Queues | |
| |
| |
Stacks | |
| |
| |
Dictionaries | |
| |
| |
| |
Strings and Regular Expressions | |
| |
| |
Strings | |
| |
| |
Regular Expressions | |
| |
| |
| |
Handling Exceptions | |
| |
| |
Throwing and Catching Exceptions | |
| |
| |
Exception Objects | |
| |
| |
Custom Exceptions | |
| |
| |
Rethrowing Exceptions | |
| |
| |
| |
Delegates and Events | |
| |
| |
Delegates | |
| |
| |
Events | |
| |
| |
| |
Programming with C# | |
| |
| |
| |
Building Windows Applications | |
| |
| |
Creating a Simple Windows Form | |
| |
| |
Creating a Windows Form Application | |
| |
| |
XML Documentation Comments | |
| |
| |
Deploying an Application | |
| |
| |
| |
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 | |
| |
| |
Changing Database Records | |
| |
| |
ADO.NET and XML | |
| |
| |
| |
Programming Web Applications with Web Forms | |
| |
| |
Understanding Web Forms | |
| |
| |
Creating a Web Form | |
| |
| |
Adding Controls | |
| |
| |
Data Binding | |
| |
| |
Responding to Postback Events | |
| |
| |
ASP.NET and C# | |
| |
| |
| |
Programming Web Services | |
| |
| |
SOAP, WSDL, and Discovery | |
| |
| |
Building a Web Service | |
| |
| |
Creating the Proxy | |
| |
| |
| |
The CLR and the .NET Framework | |
| |
| |
| |
Assemblies and Versioning | |
| |
| |
PE Files | |
| |
| |
Metadata | |
| |
| |
Security Boundary | |
| |
| |
Versioning | |
| |
| |
Manifests | |
| |
| |
Multi-Module Assemblies | |
| |
| |
Private Assemblies | |
| |
| |
Shared Assemblies | |
| |
| |
| |
Attributes and Reflection | |
| |
| |
Attributes | |
| |
| |
Intrinsic Attributes | |
| |
| |
Custom Attributes | |
| |
| |
Reflection | |
| |
| |
Reflection Emit | |
| |
| |
| |
Marshaling and Remoting | |
| |
| |
Application Domains | |
| |
| |
Context | |
| |
| |
Remoting | |
| |
| |
| |
Threads and Synchronization | |
| |
| |
Threads | |
| |
| |
Synchronization | |
| |
| |
Race Conditions and Deadlocks | |
| |
| |
| |
Streams | |
| |
| |
Files and Directories | |
| |
| |
Reading and Writing Data | |
| |
| |
Asynchronous I/O | |
| |
| |
Network I/O | |
| |
| |
Web Streams | |
| |
| |
Serialization | |
| |
| |
Isolated Storage | |
| |
| |
| |
Programming .NET and COM | |
| |
| |
Importing ActiveX Controls | |
| |
| |
Importing COM Components | |
| |
| |
Exporting .NET Components | |
| |
| |
P/Invoke | |
| |
| |
Pointers | |
| |
| |
| |
C# Keywords | |
| |
| |
Index | |