Problem

Write a program in VB.NET to display “Hello, World!” on the screen.

VB.NET Program to display “Hello, World!” in Console Window.

This is a simple VB.NET program that displays “Hello, World!” on the console window.

Module AbundantcodeConsoleApp
    Sub Main()
        ' VB.NET program to display Hello,World by Abundantcode.com
        Console.WriteLine("Hello, World!")
    End Sub

End Module

Output

Hello, World!

In the above program , Main() is the starting point for the program and the Console.WriteLine function is used to display the string on the Console Window.

Leave a Reply

Your email address will not be published. Required fields are marked *

Liked this content?. Please spread the word :)

  • RSS
  • Twitter
    Visit Us
    Follow Me