Hello World in Visual Basic .NET

Watch out! This tutorial is over 2 years old. Please keep this in mind as some code snippets provided may no longer work or need modification to work on current systems.
Tutorial Difficulty Level    

This is how you would display “Hello World” in Visual Basic.

The command line for compiling the program is the following:

In the previous line, /out specifies the output file, and /t indicates the target type.