Books & Videos

Table of Contents

  1. Chapter 1 C# and .NET Programming

    1. C# 2005 and .NET 2.0

    2. The .NET Platform

    3. The .NET 2.0 Framework

    4. The C# Language

    5. The Structure of C# Applications

    6. The Development Environment

    7. What’s in a Program?

    8. Your First Program: Hello World

    9. The Compiler

    10. Examining Your First Program

    11. Summary

    12. Quiz

    13. Exercise

  2. Chapter 2 Visual Studio 2005

    1. Before You Read Further

    2. Start Page

    3. Projects and Solutions

    4. Inside the Integrated Development Environment

    5. Building and Running

    6. Menus and Toolbars

    7. Summary

    8. Quiz

    9. Exercise

  3. Chapter 3 C# Language Fundamentals

    1. Statements

    2. Types

    3. Variables

    4. Definite Assignment

    5. Constants

    6. Strings

    7. Expressions

    8. Whitespace

    9. Summary

    10. Quiz

    11. Exercises

  4. Chapter 4 Operators

    1. The Assignment Operator (=)

    2. Mathematical Operators

    3. Increment and Decrement Operators

    4. Relational Operators

    5. Summary

    6. Quiz

    7. Exercises

  5. Chapter 5 Branching

    1. Unconditional Branching Statements

    2. Conditional Branching Statements

    3. Iteration (Looping) Statements

    4. Summary

    5. Quiz

    6. Exercises

  6. Chapter 6 Object-Oriented Programming

    1. Creating Models

    2. Classes and Objects

    3. Defining a Class

    4. Class Relationships

    5. The Three Pillars of Object-Oriented Programming

    6. Object-Oriented Analysis and Design

    7. Summary

    8. Quiz

    9. Exercises

  7. Chapter 7 Classes and Objects

    1. Defining Classes

    2. Method Arguments

    3. Constructors

    4. Initializers

    5. The this Keyword

    6. Static and Instance Members

    7. Destroying Objects

    8. Memory Allocation: The Stack Versus the Heap

    9. Summary

    10. Quiz

    11. Exercises

  8. Chapter 8 Inside Methods

    1. Overloading Methods

    2. Encapsulating Data with Properties

    3. Returning Multiple Values

    4. Summary

    5. Quiz

    6. Exercises

  9. Chapter 9 Basic Debugging

    1. Setting a Breakpoint

    2. Examining Values: The Autos and Locals Windows

    3. Set Your Watch

    4. The Call Stack

    5. Summary

    6. Quiz

    7. Exercises

  10. Chapter 10 Arrays

    1. Using Arrays

    2. The foreach Statement

    3. Initializing Array Elements

    4. The params Keyword

    5. Multidimensional Arrays

    6. Array Methods

    7. Sorting Arrays

    8. Summary

    9. Quiz

    10. Exercises

  11. Chapter 11 Inheritance and Polymorphism

    1. Specialization and Generalization

    2. Inheritance

    3. Polymorphism

    4. Abstract Classes

    5. Sealed Classes

    6. The Root of All Classes: Object

    7. Boxing and Unboxing Types

    8. Summary

    9. Quiz

    10. Exercises

  12. Chapter 12 Operator Overloading

    1. Using the operator Keyword

    2. Creating Useful Operators

    3. The Equals Operator

    4. Conversion Operators

    5. Summary

    6. Quiz

    7. Exercises

  13. Chapter 13 Interfaces

    1. Implementing an Interface

    2. Implementing More than One Interface

    3. Casting to an Interface

    4. The is and as Operators

    5. Extending Interfaces

    6. Combining Interfaces

    7. Overriding Interface Implementations

    8. Explicit Interface Implementation

    9. Summary

    10. Quiz

    11. Exercises

  14. Chapter 14 Generics and Collections

    1. Generics

    2. Collection Interfaces

    3. Creating Your Own Collections

    4. Framework Generic Collections

    5. Summary

    6. Quiz

    7. Exercises

  15. Chapter 15 Strings

    1. Creating Strings

    2. Manipulating Strings

    3. Regular Expressions

    4. The Regex Class

    5. Summary

    6. Quiz

    7. Exercises

  16. Chapter 16 Throwing and Catching Exceptions

    1. Bugs, Errors, and Exceptions

    2. Throwing Exceptions

    3. Searching for an Exception Handler

    4. The throw Statement

    5. The try and catch Statements

    6. How the Call Stack Works

    7. Creating Dedicated catch Statements

    8. The finally Statement

    9. Exception Class Methods and Properties

    10. Custom Exceptions

    11. Summary

    12. Quiz

    13. Exercises

  17. Chapter 17 Delegates and Events

    1. Delegates

    2. Multicasting

    3. Events

    4. Using Anonymous Methods

    5. Summary

    6. Quiz

    7. Exercises

  18. Chapter 18 Creating Windows Applications

    1. Creating a Simple Windows Form

    2. Creating a Real-World Application

    3. XML Documentation Comments

    4. Summary

    5. Quiz

    6. Exercises

  19. Chapter 19 Programming ASP.NET Applications

    1. Understanding Web Forms

    2. Web Form Events

    3. Creating a Web Form

    4. Adding Controls

    5. Server Controls

    6. Data Binding

    7. Adding Controls and Events

    8. Summary

    9. Quiz

    10. Exercises

  1. Appendix Answers to Quizzes and Exercises

    1. Chapter 1: C# and .NET Programming

    2. Chapter 2: Visual Studio 2005

    3. Chapter 3: C# Language Fundamentals

    4. Chapter 4: Operators

    5. Chapter 5: Branching

    6. Chapter 6: Object-Oriented Programming

    7. Chapter 7: Classes and Objects

    8. Chapter 8: Inside Methods

    9. Chapter 9: Basic Debugging

    10. Chapter 10: Arrays

    11. Chapter 11: Inheritance and Polymorphism

    12. Chapter 12: Operator Overloading

    13. Chapter 13: Interfaces

    14. Chapter 14: Generics and Collections

    15. Chapter 15: Strings

    16. Chapter 16: Throwing and Catching Exceptions

    17. Chapter 17: Delegates and Events

    18. Chapter 18: Creating Windows Applications

    19. Chapter 19: Programming ASP.NET Applications

  2. Colophon