Hello World in Visual Basic

.

Listing 1. Hello World in Visual Basic (HelloVB.vb)

' Allow easy reference to the System namespace classes.
Imports System

' This module houses the application's entry point.
Public Module modmain
   ' Main is the application's entry point.
   Sub Main()
     ' Write text to the console.
     Console.WriteLine ("Hello World using Visual Basic!")
   End Sub
End Module
 
 

 
Related Posts Plugin for WordPress, Blogger...