C# Tutorial Summary:

The .NET platform is not a rehash of COM. It is an entirely new way to build web and conventional
applications.  The key .NET components are:

       •        Common Language Infrastructure (CLI): A set of ECMA standards that enable platform-independent
                 
.NET.
       •        Common Type System (CTS): A standard for type definitions and functionality that .NET languages
                 
CAN support.
       •        Common Language Specification (CLS): A subset of the CTS that all .NET languages MUST support.
       •        Common Language Runtime (CLR): A library of utility classes for building desktop, web, or any
                
type of application and a runtime for executing .NET code with garbage collection and type
                
verification.
       •        Common Intermediate Language (CIL): All .NET languages compile to this platform-independent
                
language.

Assemblies: A new name and structure for .exe and .dll files.  .NET is language agnostic, but most development
will be in either C# or VB.  
C# is a language specifically designed to build managed code (it looks a lot like Java
but takes aspects of C++ and VB 6.0).
 VB is a supercharged version of the Visual Basic 6 programming
language. Although the syntax is ‘VB-like’, the reality is that the semantics of VB are similar to C# and C++.

All C# applications begin within a static Main() method.  C# supports the construction of partial classes, which
allow you to partition a single class definition across multiple C# files.  C# supports the usual looping and
decision constructs.  

Unlike C++, the C# switch does not allow fall through and can test string values.  The foreach loop provides a
convenient way to iterate over the elements of an array or collection.  Method overloading allows methods to
share the same name but differ in their signatures.  C# supplies a small set of keywords (out, ref, params) that
control how parameters are passed to methods.  C# supports structured error handling via the
try/catch/throw/finally keywords.  Building custom exceptions is as simple as deriving from the correct base
class.
C# Tutorial Summary
Table of Contents
C# Tutorial | C#.NET Tutorial | C# Summary

Copyright (c) 2008.  Intertech, Inc. All Rights Reserved.  This information is to be used
exclusively as an online learning aid.  Any attempts to copy, reproduce, or use for training is
strictly prohibited.
Courseware
Training Resources
Tutorials
Services