Jump to content

Programming Fundamentals/Introduction/VB.NET

From Wikiversity

hello.vb

[edit | edit source]
' This program displays "Hello world!"
'
' References:
'     https://msdn.microsoft.com/en-us/library/aa309383(v=vs.71).aspx

Public Module Main
    Sub Main()
        System.Console.WriteLine("Hello world!")
    End Sub
End Module

Try It

[edit | edit source]

Copy and paste the code above into one of the following free online development environments or use your own VB.NET compiler / interpreter / IDE.

See Also

[edit | edit source]