Tyle Solutions

MOC 2124

meu carrinho:

Course 2124C:

Programming with C#

Length:5 Days
Published:August 17, 2004
Language(s):English, French, Japanese
Technology:Microsoft Visual Studio .NET
Delivery Method:Instructor-led (classroom)


About this Course
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# 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.

Audience Profile

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.

At Course Completion
At the end of the course, students will be able to:
  • List the major elements of the .NET Framework and explain how C# fits into the .NET Platform.
  • Analyze the basic structure of a C# application and be able to document, debug, compile, and run a simple application.
  • Create, name, and assign values to variables.
  • Use common statements to implement flow control, looping, and exception handling.
  • Create methods (functions and subroutines) that can return values and take parameters.
  • Create, initialize, and use arrays.
  • Explain the basic concepts and terminology of object-oriented programming.
  • Use common objects and reference types.
  • Create, initialize, and destroy objects in a C# application.
  • Build new C# classes from existing classes.
  • Create self-contained classes and frameworks in a C# application.
  • Define operators, use delegates, and add event specifications.
  • Implement properties and indexers.
  • Use predefined and custom attributes.

Course Details

Course Outline

Module 1: Overview of the Microsoft .NET Platform

Take a closer look: Download Sample Module 1 (Portable Document Format, 850 KB).

  • Introduction to the .NET Platform
  • Overview of the .NET Framework
  • Benefits of the .NET Framework
  • The .NET Framework Components
  • Languages in the .NET Framework

Module 2: Overview of C#

Take a closer look: Download Sample Module 2 (Portable Document Format, 953 KB).

  • Structure of a C# Program
  • Basic Input/Output Operations
  • Recommended Practices
  • Compiling, Running, and Debugging

Module 3: Using Value-Type VariablesLessons

  • Common Type System
  • Naming Variables
  • Using Built-In Data Types
  • Creating User-Defined Data Types
  • Converting Data Types

Module 4: Statements and ExceptionsLessons

  • Introduction to Statements
  • Using Selection Statements
  • Using Iteration Statements
  • Using Jump Statements
  • Handling Basic Exceptions
  • Raising Exceptions

Module 5: Methods and ParametersLessons

  • Using Methods
  • Using Parameters
  • Using Overloaded Methods

Module 6: ArraysLessons

  • Overview of Arrays
  • Creating Arrays
  • Using Arrays

Module 7: Essentials of Object-Oriented ProgrammingLessons

  • Classes and Objects
  • Using Encapsulation
  • C# and Object Orientation
  • Defining Object-Oriented Systems

Module 8: Using Reference-Type VariablesLessons

  • Using Reference-Type Variables
  • Using Common Reference Types
  • The Object Hierarchy
  • Namespaces in the .NET Framework
  • Data Conversions

Module 9: Creating and Destroying ObjectsLessons

  • Using Constructors
  • Initializing Data
  • Objects and Memory
  • Resource Managements

Module 10: Inheritance in C#Lessons

  • Deriving Classes
  • Implementing Methods
  • Using Sealed Classes
  • Using Interfaces
  • Using Abstract Classes

Module 11: Aggregation, Namespaces, and Advanced ScopeLessons

  • Using Internal Classes, Methods, and Data
  • Using Aggregation
  • Using Namespaces
  • Using Modules and Assemblies

Module 12: Operators and EventsLessons

  • Introduction to Operators
  • Operator Overloading
  • Creating and Using Delegates
  • Defining and Using Events

Module 13: Properties and IndexersLessons

  • Using Properties
  • Using Indexers

Module 14: AttributesLessons

  • Overview of Attributes
  • Defining Custom Attributes
  • Retrieving Attribute Values


Before attending this course, students must have:
  • Experience with programming in C, C++, Visual Basic, Java, or another programming language.
  • Familiarity with the Microsoft .NET strategy as described on the Microsoft .NET Web site: http://www.microsoft.com/net/.
Familiarity with the .NET Framework as described on the MSDN Magazine Web site: