Visual Basic .NET Language Getting started with Visual Basic .NET Language Hello World

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Example

First, install a version of Microsoft Visual Studio, including the free Community edition. Then, create a Visual Basic Console Application project of type Console Application, and the following code will print the string 'Hello World' to the Console:

Module Module1

    Sub Main()
        Console.WriteLine("Hello World")
    End Sub

End Module

Then, save and press F5 on the keyboard (or go to the Debug menu, then click Run without Debug or Run) to compile and run the program. 'Hello World' should appear in the console window.

Output window, showing the Hello World.



Got any Visual Basic .NET Language Question?