.NET Training Overview|
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 6. It bears a striking resemblance to Java and improves on that language. C# has become the dominant language for building new applications on Microsoft platforms.
This thorough and comprehensive course is a practical introduction to programming in C#, utilizing the services provided by .NET. This course emphasizes the C# language. It is current to Visual Studio 2010 and .NET 4.0, which introduces important new features such as dynamic data type, named and optional arguments, and the use of variance in generic interfaces. The new features are covered in a new chapter. A new supplement covers the fundamentals of Language Integrated Query (LINQ), which was introduced with .NET 3.5.
This course is intended to be fully accessible to programmers who do not already have a strong background in object-oriented programming in C-like languages, such as C++ or Java. It is ideal, for example, for Visual Basic 6 or COBOL programmers who desire to learn C#.
An important thrust of the course is to teach C# programming from an object-oriented perspective. It is often difficult for programmers trained originally in a procedural language to start “thinking in objects.” This course introduces object-oriented concepts early, and C# is developed in a way that leverages its object orientation. A case study is used to illustrate creating a complete system using C# and .NET. Besides supporting traditional object-oriented features, such as classes, inheritance, and polymorphism, C# introduces several additional features, such as properties, indexers, delegates, events, and interfaces that make C# a compelling language for developing object-oriented and component-based systems. This course provides thorough coverage of all these features.
C# as a language is elegant and powerful. But to utilize its capabilities fully, you need to have a good understanding of how it works with the .NET Framework. The course explores several important interactions between C# and the .NET Framework, and it includes an introduction to major classes for collections, delegates, and events. It includes a succinct introduction to creating GUI programs using Windows Forms. The course concludes with a chapter covering the new features in C# 4.0.
Numerous programming examples and exercises are provided, including the case study. The student will receive a comprehensive set of materials, including course notes and all the programming examples.
The course includes three electronic supplements, provided as PDF files. They cover Visual Studio 2010, Language Integrated Query, and unsafe code and the C# pointer type.
.NET Training Learning objectives
.NET Training Prerequisites
- Acquire a working knowledge of C# programming
- Learn how to implement programs using C# and classes from the .NET Framework
- Learn how to implement simple GUI programs using Windows Forms
- Gain a working knowledge of dynamic data type, named and optional arguments, and other new features in C# 4.0.
The student should have programming experience in a high-level language.
.NET Training Course duration
.NET Training Course outline
1. .NET: What You Need To Know|
.NET Executables and the CLR
A .NET Testbed for C# Programming
Using Visual Studio 2010
2. First C# Programs|
Variables and Expressions
Using C# as a Calculator
Input/Output in C#
.NET Framework Class Library
3. Data Types in C#|
Floating Point Types
Characters and Strings
4. Operators and Expressions|
Checked and Unchecked
5. Control Structures|
More about Control Flow
6. Object-Oriented Programming|
Classes as Structured Data
Constructors and Initialization
Static Fields and Methods
Constant and Readonly
8. More about Types|
Overview of Types in C#
Boxing and Unboxing
9. Methods, Properties and Operators|
Variable-Length Parameter Lists
10. Characters and Strings|
Programming with Strings
11. Arrays and Indexers|
Random Number Generation
Arrays as Collections
Bank Case Study—Step 1
Bank Case Study—Step 2
13. Virtual Methods and Polymorphism|
Virtual Methods and Dynamic Binding
Fragile Base Class Problem
Bank Case Study—Step 3
14. Formatting and Conversion|
String Formatting Methods
Bank Case Study—Step 4
Structured Exception Handling
User-Defined Exception Classes
Bank Case Study—Step 5
Programming with Interfaces
Using Interfaces at Runtime
Bank Case Study—Step 6
17. .NET Interfaces and Collections|
Bank Case Study—Step 7
IEnumerable and IEnumerator
Copy Semantics and ICloneable
Bank Case Study—Step 8
18. Delegates and Events|
19. Introduction to Windows Forms|
Creating Windows Applications Using Visual Studio 2010
Buttons, Labels and Textboxes
20. New Features in C# 4.0|
Dynamic Data Type
Automating Office with C# 4.0
Variance in Generic Interfaces
Appendix A. Learning Resources|
Electronic File Supplements
Supplement 1. Using Visual Studio 2010
Overview of Visual Studio 2010
Creating a Console Application
Supplement 2. Language Integrated Query (LINQ)|
What Is LINQ?
Basic Query Operators
Supplement 2. Unsafe Code and Pointers in C#|
C# Pointer Type
Course exercises require Microsoft Visual Studio 2010 and a Windows operating system, XP or more recent. See the appropriate course Setup Guide for details.
A good minimal hardware profile for this course consists of a 2 GHz or better CPU, 512 MB of RAM, and at least 4 GB of free disk space for tools installation and courseware.