Introduction to VB.net

VB.net (Visual Basic . Network Enabled Technologies) is a simple general purpose programming language developed by Microsoft. Though this language is aimed at beginners, you can create very powerful and scalable applications using it. VB.net is a object-oriented programming language implemented on the .NET framework.

Key Features

  • One of the popular programming languages.
  • Simple Syntax
  • Very easy to learn.
  • Good community support.
  • Object oriented programming language
  • Runs on .net framework
  • Ranks #6th best programming language according to TIOBE INDEX
  • Used to make both web and mobile apps.
  • Not a case-sensitive language.
  • Beginner's friendly language as drag and drop feature is available while creating a user interface

Sample program

Public Module Program
	Public Sub Main(args() As string)
		Console.WriteLine("Hello, World!")
	End Sub
End Module
  • Public Module : Every program contains a module which has the data and procedures that your program uses. Here we are declaring module named Program with public visibility.
  • Main : Beginning of your program
  • Console.WriteLine : Console is a class of the System namespace and WriteLine() is a method in it which is used to print text to the console.
  • VB.net is not a Case-sensitive language
  • ' : Single line Comment

Practice your VB.net sample programs while learning using OneCompiler