CS2. Accelerated
Introduction to C#
Rev. 2.1
Microsoft’s .NET is a revolutionary advance in programming
technology that greatly simplifies application development and is a good match
for the emerging paradigm of Web-based services, as opposed to proprietary
applications. Part of this technology is a new language, C#. This new language
combines the power of C++ and the ease of development of Visual Basic. It bears
a striking resemblance to Java and improves on that language. C# may well
become the dominant language for building applications on Microsoft platforms.
This one-day course is designed for the experienced programmer to
help you quickly come up to speed on the C# language. It is current to Visual
Studio 2005 and .NET 2.0.
For students pursuing MCTS certification, this course provides the
C# foundation required for Object Innovations’ series of courses designed to
assist in exam preparation. Further important topics in C#, such as interfaces,
delegates and events, are covered in the follow-on course CS5, .NET Framework
Foundations Using C#.
This course concisely covers the essentials of programming using
Microsoft’s new C# programming language. It starts with a brief chapter, “.NET: What You Need to Know,” which gets you up and
running in the .NET environment with a minimum of fuss. The next two chapters
cover C# language essentials and object-oriented programming in C#. An appendix
provides a tutorial on Visual Studio 2005, including the freely downloadable
Visual C# 2005 Express Edition.
The course is practical, with many example programs. The student
will receive a comprehensive set of materials, including course notes and all
the programming examples.
LEARNING OBJECTIVES
·
Acquire a working knowledge of C# programming
·
Learn how to implement programs using C# and
classes from the .NET Framework
·
Gain a working knowledge of the object-oriented
features of C#
Duration: 1 day
Prerequisites: The
student should be an experienced application developer or architect with
knowledge of an object-oriented programming language such as C++ or Java.
1.
NET: What You Need to Know
.NET Executables and the CLR
A .NET Testbed for C# Programming
Visual Studio 2005
2.
C# Overview for the Sophisticated Programmer
First C# Console Application
Namespaces
Data Types
Conversions
Control Structures
Subroutines and Functions
Strings
Arrays
Console I/O
Formatting
Exception Handling
3.
Object-Oriented Programming in C#
Classes
Access Control
Methods and Properties
Static Data and Methods
Inheritance
Overriding Methods
Access Control and Assemblies
Appendix A. Using Visual
Studio 2005
Overview of Visual Studio 2005
Creating a Console Application
Project Configurations
Debugging
Multiple-Project Solutions
Appendix B. Learning
Resources
System Requirements
Course exercises require Microsoft Visual Studio 2005 on Windows XP
with Service Pack 2. Visual C# 2005 Express Edition can also be used. See the
appropriate course Setup Guide for details.
A good minimal hardware profile for this course would have a Pentium
1 GHz or equivalent CPU, 512 MB of RAM, and at least 4 GB of free disk space
for tools installation and courseware.