  
                    
|
| |
 |
C# ESSENTIALS
| Course Description |
|
This two-day course is designed for the experienced programmer to help you quickly come up to speed on the C# language. It is current to .NET 2.0, which introduces important new features, such as generic types. The course is practical, with many example programs. The goal is to quickly bring you up to speed in writing C# programs.
Course Length: 2 Days
Course Tuition: $790 (US)
|
| Prerequisites |
|
| Programming experience in a high-level language. Knowledge of object-oriented concepts is recommended. |
• NET: What You Need to Know
Getting Started
.NET: What Is Really Happening
.NET Programming in a Nutshell
Viewing the Assembly
Viewing Intermediate Language
Understanding .NET
Visual Studio 2005
Visual C 2005 Express Edition
Creating a Console Application
Saving Your Project
Adding a C# File
Using the Visual Studio Text Editor
IntelliSense
Build and Run the Project
Pausing the Output
Visual C# and GUI Programs
.NET Documentation
• C# Overview for the Sophisticated Programmer
Hello, World
Compiling, Running (Command Line)
Program Structure
Namespaces
Variables
Input in C
More about Classes
InputWrapper Class
Input Wrapper Implementation
Compiling Multiple Files
Control Structures
switch
C# Operators
Precedence Table
Types in C
Simple Types
Types in System Namespace
Integer Data Types
Floating Point Data Types
Implicit Conversions
Explicit Conversions
Boolean Data Type
struct
Uninitialized Variables
Enumeration Types
Nullable Types
Reference Types
Class Types
object
string
Copying Strings
StringBuilder Class
Classes and Structs
CHotel Class
SHotel Struct
RaisePrice Methods
Comparing Struct and Class
Arrays
One-Dimensional Arrays
System.Array
Jagged Arrays
Rectangular Arrays
foreach for Arrays
Boxing and Unboxing
Output in C
Formatting
Exceptions
Checked Integer Arithmetic
Throwing New Exceptions
finally
System.Exception
• Object-Oriented Programming in C#
C# Object-Oriented Features
Encapsulation and Accessors
Using a Property
Indexers
Account Class
Namespace
Constructors
Static Members
Static in Main
Inheritance in C
New Version of Base Class
Features of the New Base Class
Derived Class
Overriding a Virtual Function
Fragile Base Class Problem
Access Control and Assemblies
Internal Accessibility
Class Libraries
|
• C# and the .NET Framework
Components and OO in C
Interfaces in C
Interface Inheritance
Programming with Interfaces
Implementing Interfaces
Using an Interface
Dynamic Use of Interfaces
is Operator
as Operator
Resolving Ambiguity
Explicit Interface Implementation
System.Object
.NET and COM
Collections
ArrayList
ArrayList Methods
IEnumerable and IEnumerator
Using Enumerators
Collections of User-Defined Objects
Account Class
AccountList Class
Copy Semantics in C#
Deep Copy and ICloneable
Writing Generic Code
Using a Class of object
Generic Types
Generic Syntax in C#
Generic Client Code
System.Collections.Generic
• Delegates and Events
Overview of Delegates and Events
Callbacks and Delegates
Usage of Delegates
Declaring a Delegate
Defining a Method
Creating a Delegate Object
Calling a Delegate
Random Number Generation
A Random Array
Anonymous Methods
Combining Delegate Objects
Account.cs
DelegateAccount.cs
Events
Events in C# and .NET
Client Side Event Code
• Introduction to Windows Forms
Creating a Windows Forms App
Partial Classes
Windows Forms Event Handling
Add Events for a Control
Events Documentation
Closing a Form
ListBox Control
• Appendix A - Using Visual Studio 2005
Visual Studio 2005 Versions
A Visual C# Solution
Toolbars
Customizing a Toolbar
Creating a Console Application
Save the Project
Adding a C# File
Using the Visual Studio Text Editor
Build and Run the Bytes Project
Executable File Location
Advanced Build Configurations
Managing Configurations
Project Configurations
Creating a New Configuration
Setting Build Settings for a Configuration
Debugging
Standard Debugging – Breakpoints
Standard Debugging – Watch Variables
Stepping with the Debugger
The Call Stack
Multiple-Project Solutions
Startup Project
Hidden Files
Creating Multiple-Project Solutions
• Appendix B - Learning Resources
Contact us for course schedules or more
information.
|
|
 |
|
|
|
|