[Plus Plus Pty Ltd]

Plus Plus Pty Ltd

C-Sharp Introduction - 3 days

Objectives

This course covers the basic syntax and process of writing C-Sharp programs for programmers who are familiar with programming in another language.

Expected outcomes

Upon successful completion of this course you will be able to:

Audience

This course is aimed at programmers who want to learn the C# language and environment. Experience with C# is not necessary.

Prerequisites

As the course contains many hands-on exercises, recent, practical experience with another programming language, such as BASIC, C or C++ is required. Understanding of programming terms such as variable, array, test, loop, subroutine is necessary.

Outline

Concepts

What is C#?
A brief history
Microsoft and Mono

Language fundamentals

Hello, World!
Statements
Comments
Variables and types
Console input and output
Arithmetic
Decision structures, tests, relational and compound operators
Looping

Moving on

Arrays
Shorthand operators
The switch statement
Strings and regular expressions
Pre-processor directives

#define
Debug identifiers
Regions

Classes and objects

Namespaces
Data members
Access levels
Methods
Overriding methods
Constructors
Finalizers
Inheritance
Encapsulating data with properties

Reading and writing files

Working with directories
Working with files
Reading and writing data
Text files

Building Windows Applications - User interfaces

Command-line arguments
Programming Windows forms

Manually creating a form
Using Visual Studio .NET designer to create a form
Creating a form
Adding controls
Message boxes

Also available

Introduction to programming (1 day)
Intermediate C-Sharp programming (2 days - course in development)


[ home ] [ training ] [ consulting ] [ development ] [ contact ]

Copyright © 2006 Plus Plus Pty Ltd
Last modified: 14 November 2006
[Christian]