Intro to C# for Microsoft.NET - 2124 Course, Class Outline
(5 days)
Version .NET
Overview
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
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.
Prerequisites
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/.
Microsoft Certified Professional Exams
There is no MCP exam associated with this course.
Course Outline
Module 1: Overview of the Microsoft .NET Platform
The following topics are covered in this module:
• 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#
The following topics are covered in this module:
• Structure of a C# Program
• Basic Input/Output Operations
• Recommended Practices
• Compiling, Running, and Debugging
Module 3: Using Value-Type Variables
The following topics are covered in this module:
• Common Type System
• Naming Variables
• Using Built-In Data Types
• Creating User-Defined Data Types
• Converting Data Types
Module 4: Statements and Exceptions
The following topics are covered in this module:
• Introduction to Statements
• Using Selection Statements
• Using Iteration Statements
• Using Jump Statements
• Handling Basic Exceptions
• Raising Exceptions
Module 5: Methods and Parameters
The following topics are covered in this module:
• Using Methods
• Using Parameters
• Using Overloaded Methods
Module 6: Arrays
The following topics are covered in this module:
• Overview of Arrays
• Creating Arrays
• Using Arrays
Module 7: Essentials of Object-Oriented Programming
The following topics are covered in this module:
• Classes and Objects
• Using Encapsulation
• C# and Object Orientation
• Defining Object-Oriented Systems
Module 8: Using Reference-Type Variables
The following topics are covered in this module:
• Using Reference-Type Variables
• Using Common Reference Types
• The Object Hierarchy
• Namespaces in the .NET Framework
• Data Conversions
Module 9: Creating and Destroying Objects
The following topics are covered in this module:
• Using Constructors
• Initializing Data
• Objects and Memory
• Resource Managements
Module 10: Inheritance in C#
The following topics are covered in this module:
• Deriving Classes
• Implementing Methods
• Using Sealed Classes
• Using Interfaces
• Using Abstract Classes
Module 11: Aggregation, Namespaces, and Advanced Scope
The following topics are covered in this module:
• Using Internal Classes, Methods, and Data
• Using Aggregation
• Using Namespaces
• Using Modules and Assemblies
Module 12: Operators and Events
The following topics are covered in this module:
• Introduction to Operators
• Operator Overloading
• Creating and Using Delegates
• Defining and Using Events
Module 13: Properties and Indexers
The following topics are covered in this module:
• Using Properties
• Using Indexers
Module 14: Attributes
The following topics are covered in this module:
• Overview of Attributes
• Defining Custom Attributes
• Retrieving Attribute Values
View outline in Word
AM2124