Books & Videos

Table of Contents

  1. Chapter 1 C# and .NET Programming

    1. Installing C# Express

    2. C# 3.0 and .NET 3.5

    3. The .NET Platform

    4. The .NET Framework

    5. The C# Language

    6. Your First Program: Hello World

    7. The Compiler

    8. Examining Your First Program

    9. The Integrated Development Environment

    10. Summary

    11. Test Your Knowledge: Quiz

    12. Test Your Knowledge: Exercise

  2. Chapter 2 Visual Studio 2008 and C# Express 2008

    1. Before You Read Further

    2. The Start Page

    3. Projects and Solutions

    4. Inside the Integrated Development Environment

    5. Building and Running Applications

    6. Menus

    7. Summary

    8. Test Your Knowledge: Quiz

    9. Test Your Knowledge: Exercises

  3. Chapter 3 C# Language Fundamentals

    1. Statements

    2. Types

    3. WriteLine( ) and Output

    4. Variables and Assignment

    5. Casting

    6. Constants

    7. Strings

    8. Whitespace

    9. Summary

    10. Test Your Knowledge: Quiz

    11. Test Your Knowledge: Exercises

  4. Chapter 4 Operators

    1. Expressions

    2. The Assignment Operator (=)

    3. Mathematical Operators

    4. Increment and Decrement Operators

    5. Relational Operators

    6. Logical Operators and Conditionals

    7. The Conditional Operator

    8. Operator Precedence

    9. Summary

    10. Test Your Knowledge: Quiz

    11. Test Your Knowledge: Exercises

  5. Chapter 5 Branching

    1. Unconditional Branching Statements

    2. Conditional Branching Statements

    3. ReadLine( ) and Input

    4. Iteration (Looping) Statements

    5. Summary

    6. Test Your Knowledge: Quiz

    7. Test Your Knowledge: 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. Test Your Knowledge: Quiz

    9. Test Your Knowledge: Exercises

  7. Chapter 7 Classes and Objects

    1. Defining Classes

    2. Method Arguments

    3. Return Types

    4. Constructors

    5. Initializers

    6. Object Initializers

    7. Anonymous Types

    8. The this Keyword

    9. Static and Instance Members

    10. Finalizing Objects

    11. Memory Allocation: The Stack Versus the Heap

    12. Summary

    13. Test Your Knowledge: Quiz

    14. Test Your Knowledge: Exercises

  8. Chapter 8 Inside Methods

    1. Overloading Methods

    2. Encapsulating Data with Properties

    3. Returning Multiple Values

    4. Summary

    5. Test Your Knowledge: Quiz

    6. Test Your Knowledge: Exercises

  9. Chapter 9 Basic Debugging

    1. Setting a Breakpoint

    2. Examining Values: The Autos and Locals Windows

    3. Setting Your Watch

    4. The Call Stack

    5. Stopping Debugging

    6. Summary

    7. Test Your Knowledge: Quiz

    8. Test Your Knowledge: 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. Test Your Knowledge: Quiz

    10. Test Your Knowledge: 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. Summary

    8. Test Your Knowlege: Quiz

    9. Test Your Knowledge: Exercises

  12. Chapter 12 Operator Overloading

    1. Designing the Fraction Class

    2. Using the operator Keyword

    3. Creating Useful Operators

    4. The Equals Operator

    5. Conversion Operators

    6. Summary

    7. Test Your Knowledge: Quiz

    8. Test Your Knowledge: Exercises

  13. Chapter 13 Interfaces

    1. What Interfaces Are

    2. Implementing an Interface

    3. Implementing More Than One Interface

    4. Casting to an Interface

    5. The is and as Operators

    6. Extending Interfaces

    7. Combining Interfaces

    8. Overriding Interface Methods

    9. Explicit Interface Implementation

    10. Summary

    11. Test Your Knowledge: Quiz

    12. Test Your Knowledge: Exercises

  14. Chapter 14 Generics and Collections

    1. Generics

    2. Collection Interfaces

    3. Creating Your Own Collections

    4. Framework Generic Collections

    5. Summary

    6. Test Your Knowledge: Quiz

    7. Test Your Knowledge: Exercises

  15. Chapter 15 Strings

    1. Creating Strings

    2. Manipulating Strings

    3. Regular Expressions

    4. The Regex Class

    5. Summary

    6. Test Your Knowledge: Quiz

    7. Test Your Knowledge: 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. Test Your Knowledge: Quiz

    13. Test Your Knowledge: Exercises

  17. Chapter 17 Delegates and Events

    1. Delegates

    2. Using Anonymous Methods

    3. Lambda Expressions

    4. Summary

    5. Test Your Knowledge: Quiz

    6. Test Your Knowledge: Exercises

  18. Chapter 18 Creating Windows Applications

    1. Creating a Simple Windows Form

    2. Creating a Real-World Application

    3. Source Code

    4. Summary

    5. Test Your Knowledge: Quiz

    6. Test Your Knowledge: Exercises

  19. Chapter 19 Windows Presentation Foundation

    1. Your First WPF Application

    2. WPF Differences from Windows Forms

    3. Using Resources

    4. Animations

    5. C# and WPF

    6. Summary

    7. Test Your Knowledge: Quiz

    8. Test Your Knowledge: Exercises

  20. Chapter 20 ADO.NET and Relational Databases

    1. Relational Databases and SQL

    2. The ADO.NET Object Model

    3. Getting Started with ADO.NET

    4. Summary

    5. Test Your Knowledge: Quiz

    6. Test Your Knowledge: Exercises

  21. Chapter 21 LINQ

    1. Querying In-Memory Data

    2. Anonymous Types and Implicitly Typed Variables

    3. Lambda Expressions

    4. Ordering and Joining

    5. Using LINQ with SQL

    6. Using the Object Relational Designer

    7. Summary

    8. Test Your Knowledge: Quiz

    9. Test Your Knowledge: Exercises

  1. Appendix Answers to Quizzes and Exercises

    1. Chapter 1: C# and .NET Programming

    2. Chapter 2: Visual Studio 2008 and C# Express 2008

    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: Windows Presentation Foundation

    20. Chapter 20: ADO.NET and Relational Databases

    21. Chapter 21: LINQ

  2. Colophon