Pages

Friday, 29 March 2013

How to Program "Hello World!" in Visual Basic.net Console Application?

Module Module1

   sub Main()

     Console.Writeline("Hello World!")
     Console.Readline()

   End Sub

End Module

Note:
  • The purpose of Console.Writeline is to print the Word "Hello World".
  • The purpose of Console.Readline() is to read and hold the screen output of the code.

The Image below is the output of the code.


No comments:

Post a Comment