100% found this document useful (2 votes)
302 views12 pages

CSharp - Introduction

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 12

Introduction

Contents

Introduction 1
Course Materials 2
Prerequisites 3
Course Outline 4
Microsoft Certified Professional Program 7
Facilities 9

This course is based on the prerelease Beta 1 version of Microsoft® Visual Studio .NET.
Content in the final release of the course may be different from the content included in
this prerelease version. All labs in the course are to be completed with the Beta 1
version of Visual Studio .NET.
Information in this document is subject to change without notice. The names of companies,
products, people, characters, and/or data mentioned herein are fictitious and are in no way intended
to represent any real individual, company, product, or event, unless otherwise noted. Complying
with all applicable copyright laws is the responsibility of the user. No part of this document may
be reproduced or transmitted in any form or by any means, electronic or mechanical, for any
purpose, without the express written permission of Microsoft Corporation. If, however, your only
means of access is electronic, permission to print one copy is hereby granted.

Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual
property rights covering subject matter in this document. Except as expressly provided in any
written license agreement from Microsoft, the furnishing of this document does not give you any
license to these patents, trademarks, copyrights, or other intellectual property.

 2001 Microsoft Corporation. All rights reserved.

Microsoft, ActiveX, BizTalk, IntelliSense, JScript, Microsoft Press, MSDN, PowerPoint, Visual
Basic, Visual C++, Visual #, Visual Studio, Windows, and Windows Media are either registered
trademarks or trademarks of Microsoft Corporation in the U.S.A. and/or other countries.

Other product and company names mentioned herein may be the trademarks of their respective
owners.
Introduction 1

Introduction

n Name
n Company Affiliation
n Title/Function
n Job Responsibility
n Programming Experience
n C, C++, Visual Basic, or Java Experience
n Expectations for the Course
2 Introduction

Course Materials

n Name Card
n Student Workbook
n Student Materials Compact Disc
n Course Evaluation

The following materials are included with your kit:


n Name card. Write your name on both sides of the name card.
n Student workbook. The student workbook contains the material covered in
class, in addition to the hands-on lab exercises.
n Student Materials compact disc. The Student Materials compact disc
contains the Web page that provides you with links to resources pertaining
to this course, including additional readings, review and lab answers, lab
files, multimedia presentations, and course-related Web sites.

Note To open the Web page, insert the Student Materials compact disc into
the CD-ROM drive, and then in the root directory of the compact disc,
double -click Autorun.exe or Default.htm.

n Course evaluation. At the conclusion of this course, please complete the


course evaluation to provide feedback on the instructor, course, and
software product. Your comments will help us improve future courses.
To provide additional comments or inquire about the Microsoft Certified
Professional program, send e-mail to mcp@msprograms.com.
Introduction 3

Prerequisites

n Experience Programming in C, C++, Visual Basic or


Java
n Familiarity with Microsoft’s .NET Strategy
n Familiarity with the Microsoft .NET Framework

This course requires that you meet the following prerequisites:


n Experience programming in C, C++, Microsoft Visual Basic ®, Java, or
another programming language
n Familiarity with Microsoft’s .NET strategy as described on
Microsoft’s .NET Web site (http://www.microsoft.com/net/)
n Familiarity with the .NET Frameworks as described in MSDN® Magazine
(http://msdn.microsoft.com/msdnmag/issues/0900/Framework/
Framework.asp and
http://msdn.microsoft.com/msdnmag/issues/1000/Framework2/
Framework2.asp)
4 Introduction

Course Outline

n Module 1: Overview of the Microsoft .NET Platform


n Module 2: Overview of C#
n Module 3: Using Value-Type Variables
n Module 4: Statements and Exceptions
n Module 5: Methods and Parameters

Module 1, “Overview of the Microsoft .NET Platform,”describes the rationale


and features that provide the foundation for the .NET platform, including
the .NET components. The purpose of this module is to build an understanding
of the .NET platform for which you will be developing C# code. After
completing this module, you will be able to describe the components of
the .NET platform.
Module 2, “Overview of C#,” describes the basic structure of a C# application.
This module provides a simple working example for you to analyze to learn
how to use the Console class to perform some basic input and output operations
and to learn best practices for handling errors and documenting your code.
After completing this module, you will be able to compile, run, and debug a C#
application.

Module 3, “Using Value-Type Variables,”describes how to use value-type


variables in C#. This module explains how to specify the type of data that
variables will hold, how to name variables according to standard naming
conventions, how to assign values to variables, and how to convert existing
variables from one data type to another. After completing this module, you will
be able to use value-type variables in C#.
Module 4, “Statements and Exceptions,”explains how to use some common
statements in C#. This module also describes how to implement exception
handling in C#. After completing this module, you will be able to throw and
catch errors.
Module 5, “Methods and Parameters,”describes how to create static methods
that take parameters and return values, how to pass parameters to methods in
different ways, and how to declare and use overloaded methods. After
completing this module, you will be able to use methods and parameters.
Introduction 5

Course Outline (continued)

n Module 6: Arrays
n Module 7: Essentials of Object-Oriented Programming
n Module 8: Using Reference-Type Variables
n Module 9: Creating and Destroying Objects
n Module 10: Inheritance in C#

Module 6, “Arrays,”explains how to group data into arrays. After completing


this module, you will be able to create, initialize, and use arrays.
Module 7, “Essentials of Object-Oriented Programming,”explains the
terminology and concepts required to create and use classes in C#. This module
also explains abstraction, encapsulation, inheritance, and polymorphism. After
completing this module, you will be able to explain some of the common
concepts of object-oriented programming.
Module 8, “Using Reference-Type Variables,”describes how to use reference-
type variables in C#. This module explains a number of reference types, such as
string, that are built into the C# language and the Common Language Runtime.
After completing this module, you will be able to use reference-type variables
in C#.
Module 9, “Creating and Destroying Objects,”explains what happens in the
language runtime when an object is created and how to use constructors to
initialize objects. This module also explains what happens when an object is
destroyed and how the garbage collector reclaims memory. After completing
this module, you will be able to create and destroy objects in C#.
Module 10, “Inheritance in C#,”explains how to derive a class from a base
class. This module also explains how to implement methods in a derived class
by defining them as virtual methods in the base class and overriding or hiding
them in the derived class, as required. This module explains how to seal a class
so that it cannot be derived from and how to implement interfaces and abstract
classes. After completing this module, you will be able to use inheritance in C#
to derive classes and to define virtual methods.
6 Introduction

Course Outline (continued)

n Module 11: Aggregation, Namespaces, and Advanced


Scope
n Module 12: Operators, Delegates, and Events
n Module 13: Properties and Indexers
n Module 14: Attributes

Module 11, “Aggregation, Namespaces, and Advanced Scope,”describes how


to group classes together into larger, higher-level classes and how to use
namespaces to group classes together inside named spaces and to create logical
program structures beyond individual classes. This module also explains how to
use assemblies to group collaborating source files together into a reusable,
versionable, and deployable unit. After completing this module, you will be
able to make code accessible at the component or assembly level.
Module 12, “Operators, Delegates, and Events,”explains how to define
operators and how to use delegates to decouple a method call from a method
implementation. It also explains how to add event specifications to a class.
After completing this module, you will be able to implement operators,
delegates, and events.

Module 13, “Properties and Indexers,”explains how to create properties to


encapsulate data within a class and how to define indexers to gain access to
classes by using array-like notation. After completing this module, you will be
able to use properties to enable field- like access and indexers to enable array-
like access.
Module 14, “Attributes,” describes the purpose of attributes and the role they
play in C# applications. This module explains attribute syntax and how to use
some predefined attributes in the .NET environment. After completing this
module, you will be able to create custom user-defined attributes and use these
custom attributes to query attribute information at run time.
Appendix A, “Resources for Further Study,” serves as a reference that you can use after attending the course for further study and to help
y ou locate the latest news and information about C# and the .NET Framework.

Note The information in this course is based on the Beta 1 prerelease version
of Microsoft Visual Studio.NET.
Introduction 7

Microsoft Certified Professional Program

http://www.microsoft.com/trainingandservices/

The Microsoft Certified Professional program includes the following


certifications:
n Microsoft Certified Systems Engineer + Internet (MCSE + Internet)
n Microsoft Certified Systems Engineer (MCSE)
n Microsoft Certified Database Administrator (MCDBA)
n Microsoft Certified Solution Developer (MCSD)
n Microsoft Certified Professional + Site Building (MCP + Site Building)
n Microsoft Certified Professional + Internet (MCP + Internet)
n Microsoft Certified Professional (MCP)
n Microsoft Certified Trainer (MCT)

For More Information See the “Certification”section of the Web page provided
on the compact disc or the Microsoft Training and Certification Web site at
http://www.microsoft.com/trainingandservices/
You can also send e-mail to mcp@msprograms.com if you have specific
certification questions.
8 Introduction

Exam Preparation Guides


To help prepare for the MCP exams, you can use the preparation guides that are
available for each exam. Each Exam Preparation Guide contains exam-specific
information, such as a list of the topics on which you will be tested. These
guides are available on the Microsoft Certified Professional Web site at
http://www.microsoft.com/trainingandservices/

Important MSDN Training curriculum helps you to prepare for Microsoft


Certified Professional (MCP) exams. However, no one-to-one correlation exists
between MSDN Training courses and MCP exams. Passing MCP exams
requires real-world experience with the products— MSDN Training courses
help get you started.
Introduction 9

Facilities
Class Hours

Building Hours Phones

Parking Messages

Rest Rooms Smoking

Meals Recycling
THIS PAGE INTENTIONALLY LEFT BLANK

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy