Anda di halaman 1dari 4

Programming with C#

Module 1 Module 3

Overview of the Microsoft .NET Platform Using Value-Type Variables

The following topics are covered in this module: The following topics are covered in this module:

•Introduction to the .NET Platform •Common Type System


•Overview of the .NET Framework •Naming Variables
•Benefits of the .NET Framework •Using Built-In Data Types
•The .NET Framework Components •Creating User-Defined Data Types
•Languages in the .NET Framework •Converting Data Types

After completing this module, you will be able to After completing this module, you will be able to
list the major elements of the .NET Framework create, name, and assign values to variables. This
and explain how the C# language fits into the includes:
.NET Platform. This includes:
•Describing the types of variables that you can use
•Describing the .NET Platform. in C# applications.
•Listing the main elements of the .NET Platform. •Naming your variables according to standard C#
•Explaining the language support in the .NET naming conventions.
Framework. •Declaring variables by using built-in data types.
•Describing the .NET Framework and its •Assigning values to variables.
components. •Converting existing variables from one data type
to another.
•Creating and using your own data types
Module 2

Overview of C# Module 4

The following topics are covered in this module: Statements and Exceptions

•Structure of a C# Program The following topics are covered in this module:


•Basic Input/Output Operations
•Recommended Practices •Introduction to Statements
•Compiling, Running, and Debugging •Using Selection Statements
•Using Iteration Statements
After completing this module, you will be able to •Using Jump Statements
analyze the basic structure of a C# application •Handling Basic Exceptions
and be able to document, debug, compile, and •Raising Exceptions
run a simple application. This includes:
After completing this module, you will be able to
•Explaining the structure of a simple C# program. use common statements to implement flow
•Using the Console class of the System namespace control, looping, and exception handling. This
to perform basic input/output operations. includes:
•Handling exceptions in a C# program.
•Generating Extensible Markup Language (XML) •Describing the different types of control
documentation for a C# application. statements.
•Compiling and executing a C# program. •Using jump statements.
•Using the Microsoft Visual Studio Debugger to •Using selection statements.
trace program execution. •Using iteration statements.
Programming with C#
•Handling and raising exceptions. The following topics are covered in this module:

•Classes and Objects


Module 5 •Using Encapsulation
•C# and Object Orientation
Methods and Parameters •Defining Object-Oriented Systems

The following topics are covered in this module: After completing this module, you will be able to
explain the basic concepts and terminology of
•Using Methods object-oriented programming. This includes:
•Using Parameters
•Using Overloaded Methods •Defining the terms object and class in the context
of object-oriented programming.
After completing this module, you will be able to •Describing the three core aspects of an object:
create methods (functions and subroutines) that identity, state, and behavior.
can return values and take parameters. This •Describing abstraction and how it helps you to
includes: create reusable classes that are easy to maintain.
•Using encapsulation to combine methods and
•Creating static methods that accept parameters data in a single class and enforce abstraction.
and return values. •Explaining the concepts of inheritance and
•Passing parameters to methods in different polymorphism.
ways. •Creating and using classes in C#.
•Declaring and using overloaded methods.

Module 8
Module 6
Using Reference-Type Variables
Arrays
The following topics are covered in this module:
The following topics are covered in this module:
•Using Reference-Type Variables
•Overview of Arrays •Using Common Reference Types
•Creating Arrays •The Object Hierarchy
•Using Arrays •Namespaces in the .NET Framework
•Data Conversions
After completing this module, you will be able to
create, initialize, and use arrays. This includes: After completing this module, you will be able to
use common objects and reference types. This
•Creating, initializing, and using arrays of varying includes:
rank.
•Using command-line arguments in a C# program. •Describing the key differences between
•Describing the relationship between an array reference types and value types.
variable and an array instance. •Using common reference types such as string.
•Using arrays as parameters for methods. •Explaining how the object type works and
•Returning arrays from methods. becoming familiar with the methods it supplies.
•Describing common namespaces in the .NET
Framework.
Module 7 •Determining whether different types and objects
are compatible.
Essentials of Object-Oriented Programming •Explicitly and implicitly converting data types
between reference types.
•Performing boxing and unboxing conversions
Programming with C#
between reference and value data.

Module 11
Module 9
Aggregation, Namespaces, and Advanced Scope
Creating and Destroying Objects
The following topics are covered in this module:
The following topics are covered in this module:
•Using Internal Classes, Methods, and Data
•Using Constructors •Using Aggregation
•Initializing Data •Using Namespaces
•Objects and Memory •Using Modules and Assemblies
•Resource Managements
After completing this module, you will be able to
After completing this module, you will be able to create self-contained classes and frameworks in a
create, initialize, and destroy objects in a C# C# application. This includes:
application. This includes:
•Using internal access to allow classes to have
•Using constructors to initialize objects. privileged access to each other.
•Creating overloaded constructors that can accept •Using aggregation to implement powerful
varying parameters. patterns such as Factories.
•Describing the lifetime of an object and what •Using namespaces to organize classes.
happens when it is destroyed. •Creating simple modules and assemblies.
•Creating destructors and using Finalizemethods.

Module 12
Module 10
Operators and Events
Inheritance in C#
The following topics are covered in this module:
The following topics are covered in this module:
•Introduction to Operators
•Deriving Classes •Operator Overloading
•Implementing Methods •Creating and Using Delegates
•Using Sealed Classes •Defining and Using Events
•Using Interfaces
•Using Abstract Classes After completing this module, you will be able to
define operators, use delegates, and add event
After completing this module, you will be able to specifications. This includes:
build new C# classes from existing classes. This
includes: •Defining operators to make a class or struct
easier to use.
•Deriving a new class from a base class and calling •Using delegates to decouple a method call from a
members and constructors of the base class from method implementation.
the derived class. •Adding event specifications to a class to allow
•Declaring methods as virtual and override or subscribing classes to be notified of changes in
hiding them as required. object state.
•Sealing a class so that it cannot be derived from.
•Implementing interfaces by using both the
implicit and explicit methods.
•Describing the use of abstract classes and their
implementation of interfaces
Programming with C#
Module 13

Properties and Indexers

The following topics are covered in this module:

•Using Properties
•Using Indexers

After completing this module, you will be able to


implement properties and indexers. This
includes:

•Creating properties to encapsulate data within a


class.
•Defining indexers to gain access to classes by
using array-like notation.

Module 14

Attributes

The following topics are covered in this module:

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

After completing this module, you will be able to


use predefined and custom attributes. This
includes:

•Using common predefined attributes.


•Creating simple custom attributes.
•Querying attribute information at run time.

Anda mungkin juga menyukai