O'Reilly logo

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

Microsoft® Visual C#® .NET 2003 Kick Start

Book Description

Microsoft Visual C# .NET 2003 Kick Start is a rapid-progression tutorial that presents the C# language to working programmers who are already familiar with another programming language or tool. This book speeds through basic concepts and focuses on practical examples showing the advantages of C# .NET 2003 in ASP programming, application design and creation, and .NET Web Services development. While Microsoft Visual C# .NET 2003 Kick Start assumes no knowledge of C# or the .NET Framework, it skips the handholding and basic programming instruction associated with entry-level tutorials. Full of code examples, tips, and profession insights, this book is about maximum payoff with minimum effort for the working programmer who wants to use Visual C# .NET 2003 now.

Table of Contents

  1. Copyright
  2. About the Author
  3. Acknowledgments
  4. Foreword
  5. We Want to Hear from You!
  6. Introduction
  7. What's in This Book
  8. Conventions Used in This Book
  9. What You'll Need
  10. C# Online Resources
  11. Essential C#
    1. Creating Our First C# Program
    2. The .NET Framework in Overview
    3. Visual C# .NET
    4. Data Types
    5. Variables
    6. Constants
    7. Enumerations
    8. Arrays
    9. Type Conversions in C#
    10. Comments in C#
    11. Creating Expressions and Statements
    12. Using the C# Operators
    13. Operator Precedence
    14. The if Statement
    15. The switch Statement
    16. Preprocessor Directives
    17. In Brief
  12. Basic C# Programming
    1. Loops
    2. Creating Methods
    3. Exception Handling
    4. Working with Strings
    5. Working with Regular Expressions
    6. In Brief
  13. C# Object-Oriented Programming
    1. Creating Classes
    2. Creating Objects
    3. Using Access Modifiers
    4. Creating Fields and Using Initializers
    5. Creating Methods
    6. Creating Properties
    7. Read-only Properties
    8. Creating Constructors
    9. Creating Structs
    10. Creating Static Members
    11. Creating Static Fields
    12. Creating Static Properties
    13. Creating Destructors and Handling Garbage Collection
    14. Overloading Methods
    15. Overloading Operators
    16. Creating Namespaces
    17. In Brief
  14. Handling Inheritance and Delegates
    1. Working with Inheritance
    2. Overriding Virtual Methods
    3. Creating Abstract Classes
    4. Working with Polymorphism
    5. Boxing and Unboxing Types
    6. Protecting Nested Classes
    7. Using Interfaces
    8. Working with Delegates
    9. Handling Events with Delegates
    10. In Brief
  15. Working with Streams in C#
    1. Working with Directories
    2. Working with Files
    3. Working with Streams
    4. Serializing Objects
    5. In Brief
  16. Understanding Collections and Indexers
    1. Using Collections
    2. Using Arrays
    3. Using Array Lists
    4. Using Queues
    5. Using Stacks
    6. Using Hash Tables
    7. Creating Your Own Collections
    8. In Brief
  17. Creating C# Windows Applications
    1. Creating a Windows Application
    2. Basic Windows Programming Skills
    3. Using Basic Windows Controls
    4. Using Advanced Controls
    5. Creating Multi-Window Applications
    6. In Brief
  18. Creating C# Web Applications
    1. Introducing Web Applications
    2. Creating a Web Application
    3. Basic Web Programming Skills
    4. Using Basic Web Server Controls
    5. Using Advanced Web Server Controls
    6. In Brief
  19. Using ADO.NET and Databases
    1. Connections, Data Adapters, and Datasets
    2. Creating a Data Application
    3. Working with Relational Databases
    4. Using Multiple Tables in a Single Dataset
    5. Working with Data Views
    6. Handling Data Binding
    7. Implementing Simple Data Binding
    8. Implementing Complex Binding
    9. Navigating Through Datasets Using Bound Controls
    10. Working with SQL Parameters
    11. In Brief
  20. Handling Databases in C# Code
    1. Using Data Objects
    2. Using Connection, Command, and Data Adapter Objects
    3. Using the DataSet Class
    4. Creating a Dataset in Code
    5. Filling Datasets with Local Data
    6. Reading Data Cell by Cell
    7. Using Data Readers
    8. Creating a Data Relation in Code
    9. In Brief
  21. Creating User Controls and Web User Controls
    1. Creating User Controls
    2. Creating Web User Controls
    3. In Brief
  22. Creating Windows Services, Web Services, and Deploying Applications
    1. Creating Windows Services
    2. Creating Web Services
    3. Deploying Your Applications
    4. In Brief
  23. Understanding C# Assemblies and Security
    1. All About Assemblies
    2. Creating an Assembly
    3. Storing Multiple Modules in an Assembly
    4. Working with DLLs in the IDE
    5. Creating Shared Assemblies
    6. Implementing Security in C#
    7. In Brief
  24. Using Attributes and Reflection
    1. Handling Metadata in C#
    2. Built-in Attributes
    3. Creating Custom Attributes
    4. Using Reflection
    5. Accessing Metadata
    6. Discovering and Examining Types
    7. Using Late Binding
    8. Using Reflection Emit
    9. In Brief
  25. Using Multithreading and Remoting
    1. Working with Multiple Threads
    2. Creating and Starting Multiple Threads
    3. Sleeping, Aborting, Suspending, Resuming, and Joining Threads
    4. Synchronizing Threads
    5. Remoting: Passing Types and Objects Across Boundaries
    6. Using SOAP for Remoting
    7. In Brief
    8. And That's It
  26. Index