Language Support

The Microsoft .NET Platform currently offers built-in support for three languages: C#, Visual Basic, and JScript.

The exercises and code samples in this tutorial demonstrate how to use C#, Visual Basic, and JScript to build .NET applications. For information regarding the syntax of the other languages, refer to the complete documentation for the .NET Framework SDK.

The following table is provided to help you understand the code samples in this tutorial as well as the differences between the three languages:

Variable Declarations

VB

Statements

VB

Comments

VB

Accessing Indexed Properties

VB

Declaring Indexed Properties

VB

Declaring Simple Properties

VB

Declare and Use an Enumeration

VB

Enumerating a Collection

VB

Declare and Use Methods

VB

Custom Attributes

VB

Arrays

VB

Initialization

VB

If Statements

VB

Case Statements

VB

For Loops

VB

While Loops

VB

Exception Handling

VB

String Concatenation

VB

Event Handler Delegates

VB

Declare Events

VB

Add or Remove Event Handlers to Events

VB

Casting

VB

Conversion

VB

Class Definition with Inheritance

VB

Implementing an Interface

VB

Class Definition with a Main Method

VB

Standard Module

VB


Copyright 2001-2002 Microsoft Corporation. All rights reserved.