Course Information

Course CodeMS2124 (MOC2124) (M2124)
Fee£1295 (Exclusive of VAT)
DurationFive Days
Delivery FormatInstructor-led
Replacement Course: 10266: Programming in C# with Microsoft Visual Studio 2010

Introduction

The goal of this course is to provide students with the knowledge and skills they need to develop C# applications for the Microsoft .NET Platform. The course focuses on C# (pronounced CSharp) program structure, language syntax, and implementation details.

C# was created to be the programming language best suited for writing enterprise applications for .NET. C# combines the high productivity of Microsoft Visual Basic with the raw power of C++. It is a simple, object-oriented, and type-safe programming language that is based on the C and C++ family of languages.

C# Versions 2.0 / 3.0

C# 1.0 is recognised as a standard by the International Organization for Standardization (ISO) and by the European Computer Manufacturer's Association (ECMA). Visual Studio 2002 .NET and 2003 implement C# 1.0.

C# 2.0 and 3.0, implemented in Visual Studio .NET 2005 and above, include a number of new features:

To keep the course up-to-date Rezound include a technical overview, with examples in Visual Studio 2008, of the new C# features. Additionally simple though representative examples of a Windows Application, an XML Web Service and a Web-based Client Application are presented.

Audience

This course is intended for experienced developers who already have programming experience in C, C++, Visual Basic, or Java. These developers will be likely to develop enterprise business solutions.

Completion

Prerequisites

Experience with programming in C, C++, Visual Basic, Java, or another programming language.

Examinations

There is no MCP exam associated with this course.

Materials

The student kit includes a comprehensive workbook and other necessary materials for this class.

Course Outline

Module 1: Overview of the Microsoft .NET Platform

The following topics are covered in this module:

After completing this module, you will be able to list the major elements of the .NET Framework and explain how the C# language fits into the .NET Platform. This includes:

Module 2: Overview of C#

The following topics are covered in this module:

After completing this module, you will be able to analyze the basic structure of a C# application and be able to document, debug, compile, and run a simple application. This includes:

Module 3: Using Value-Type Variables

The following topics are covered in this module:

After completing this module, you will be able to create, name, and assign values to variables. This includes:

Module 4: Statements and Exceptions

The following topics are covered in this module:

After completing this module, you will be able to use common statements to implement flow control, looping, and exception handling. This includes:

Module 5: Methods and Parameters

The following topics are covered in this module:

After completing this module, you will be able to create methods (functions and subroutines) that can return values and take parameters. This includes:

Module 6: Arrays

The following topics are covered in this module:

After completing this module, you will be able to create, initialize, and use arrays. This includes:

Module 7: Essentials of Object-Oriented Programming

The following topics are covered in this module:

After completing this module, you will be able to explain the basic concepts and terminology of object-oriented programming. This includes:

Module 8: Using Reference-Type Variables

The following topics are covered in this module:

After completing this module, you will be able to use common objects and reference types. This includes:

Module 9: Creating and Destroying Objects

The following topics are covered in this module:

After completing this module, you will be able to create, initialize, and destroy objects in a C# application. This includes:

Module 10: Inheritance in C#

The following topics are covered in this module:

After completing this module, you will be able to build new C# classes from existing classes. This includes:

Module 11: Aggregation, Namespaces, and Advanced Scope

The following topics are covered in this module:

After completing this module, you will be able to create self-contained classes and frameworks in a C# application. This includes:

Module 12: Operators and Events

The following topics are covered in this module:

After completing this module, you will be able to define operators, use delegates, and add event specifications. This includes:

Module 13: Properties and Indexers

The following topics are covered in this module:

After completing this module, you will be able to implement properties and indexers. This includes:

Module 14: Attributes

The following topics are covered in this module:

After completing this module, you will be able to use predefined and custom attributes. This includes: