Friday 30 January 2015

1. VB.Net program structure
A VB.Net program basically consists of the following parts:
  • Namespace declaration
  • A class or module
  • One or more procedures
  • Variables
  • The Main procedure
  • Statements & Expressions
  • Comments
Imports System
Module Module1
   'This program will display Hello World 
   Sub Main()
      Console.WriteLine("Hello World")
      Console.ReadKey()
   End Sub
End Module

Statement = console.writeline("Hello World")
Expression = 

2. VB.Net basic syntax

No comments:

Post a Comment