C# Language Training Overview
This C# 2.0 training course teaches attendees the object-oriented development and C# 2.0 language skills they need to successfully develop elegant, efficient C# code.
C# Language Training Objectives
All attendees will learn how to:
- Build and debug applications using Visual Studio 2005.
- Create and use variables, operators, and data types.
- Find and use the classes you need within the .NET Framework.
- Manage flow control within your code, branching and looping as needed.
- Create and consume classes and objects.
- Add and consume properties and methods in your classes.
- Make use of .NET's object-oriented features, such as overloading, inheritance and interfaces.
- Store, retrieve, and manipulate multiple values using arrays.
- Work with .NET 2.0's generics.
- Make best use of the .NET Framework's support for collection classes.
- Handle exceptions in your code.
- Create and use delegates, and understand how they relate to events
C# Language Training Outline
- Getting Started: Hello World
- Thinking about .NET
- Using Visual Studio 2005
- Debugging Your Applications
- Variables and Data Types
- Introducing Variables and Data Types
- Converting from One Data Type to Another
- Working with Operators
- Using the .NET Framework
- Generating Random Numbers
- Getting Information about the Computer
- Working with XML
- Working with File I/O
- Working with Strings
- Working with Dates and Times
- Branching and Flow Control
- Conditional Branching
- Repeating Code Blocks
- Other Control Flow Statements
- Classes and Objects
- Introducing Objects and Classes
- Creating Your Own Classes
- Value Types vs. Reference Types
- Object Lifetime (Disposal and Deterministic Finalization)
- Instance Members
- Object Properties and Methods
- Working with Properties
- Calculating Values for Properties
- Validating Values in Properties
- Passing Arguments to Properties
- Working with Methods
- Passing Arguments to Methods
- Returning Arrays
- Working with Instance Members
- Object-Oriented Techniques
- Inheritance
- Polymorphism
- The Real Base Class: System.Object
- Overriding Properties and Methods
- Abstract Classes
- Implementing and Creating Interfaces
- Organizing Classes
- Arrays
- Introducing System.Array
- Initializing Arrays
- Iterating Through Arrays
- Array methods
- Passing Arrays as Method Parameters
- Multi-Dimensional Arrays
- Creating Array Indexers
- Generics
- Understanding Generics
- Generic Types and Classes
- Calling Generic Procedures
- Generic Constraints
- Collection Classes
- Collection Interfaces
- The Generic List
- Constraints and Lists
- Sorting Collections
- Queues and Stacks
- Hash Tables and Dictionaries
- Exceptions
- What Happens Without Exception Handling?
- Adding a Simple Try/Catch Block
- Using and Exception Object
- Catching Specific Exceptions
- Raising Errors
- Finally: Running Code Unconditionally
- Handling Unhandled Exceptions
- Creating Exception Classes
- Delegates and Events
- Events, Historically
- Interfaces vs. Delegates
- Delegates as Type-Safe Function Pointers
- Motivating Events
- Event Handlers as Delegate Instances
|