O'Reilly logo

Professional C# 2008 by Karli Watson, Morgan Skinner, Jay Glynn, Bill Evjen, Christian Nagel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Contents

Introduction

Part I: The C# Language

Chapter 1: .NET Architecture

The Relationship of C# to .NET

The Common Language Runtime

A Closer Look at Intermediate Language

Assemblies

.NET Framework Classes

Namespaces

Creating .NET Applications Using C#

The Role of C# in the .NET Enterprise Architecture

Summary

Chapter 2: C# Basics

Before We Start

Your First C# Program

Variables

Predefined Data Types

Flow Control

Enumerations

Arrays

Namespaces

The Main() Method

More on Compiling C# Files

Console I/O

Using Comments

The C# Preprocessor Directives

C# Programming Guidelines

Summary

Chapter 3: Objects and Types

Classes and Structs

Class Members

Anonymous Types

Structs

Partial Classes

Static Classes

The Object Class

Extension Methods

Summary

Chapter 4: Inheritance

Types of Inheritance

Implementation Inheritance

Modifiers

Interfaces

Summary

Chapter 5: Arrays

Simple Arrays

Multidimensional Arrays

Jagged Arrays

Array Class

Array and Collection Interfaces

Enumerations

Summary

Chapter 6: Operators and Casts

Operators

Type Safety

Comparing Objects for Equality

Operator Overloading

User-Defined Casts

Summary

Chapter 7: Delegates and Events

Delegates

Events

Summary

Chapter 8: Strings and Regular Expressions

System.String

Regular Expressions

Summary

Chapter 9: Generics

Overview

Creating Generic Classes

Generic Classes’ Features

Generic Interfaces

Generic Methods

Generic Delegates

Other Generic Framework Types

Summary

Chapter 10: Collections

Collection Interfaces and Types

Lists

Queues

Stacks ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required