VB.Net is a programming language developed by Microsoft in the 90s. It is a data-driven, object-oriented programming language that can be used to develop different types of applications such as windows applications, web applications and web services.
Types of applications that can be developed using VB.Net:
|
Whenever an application accepts the input from console and projects the output on the console then such type of applications are called console applications. Where console is a device which has the capability to accept the information and also to display the data
Comments . . . . .
Imports statements . . . .
Module Module name
Sub main ( )
Statement(s) to execute . . . .
End sub
End module
Comments
Imports statements . . . .
Class Class name
[Public] shared sub main ( )
Statement(s) . . . . .
End sub
End class
Note: VB.Net is not the case-sensitive language but it is line sensitive language.
System: It is the root namespace for any .Net application Where a namespace can be considered as a collection of classes in a hierarchy such that the class definitions can be accessed easily
Console: It is a class that provides members to project the data and to accept the data.
Write: It is a method to project data on console.
Write Line: It is a method used to project data by appending a newline character at the end of information.
Read: It is used to accept angle character.
Read Line: It is used to read a single line of information i.e. accept the characters until the users press the enter key.
Want to acquire industry skills and gain complete knowledge of VB.Net? Enroll in Instructor-Led live VB.Net Training to become Job Ready! |
Prg:
My first VB .Net program
Imports system
Module first program
Sub main ( )
Console.WriteLine (“Welcome to VB.Net”)
End sub
End module
To execute console application
After selection press ctrl + F5
To add a new program to the console application [already existing]
Imports system
Class VB Intro
Public shared sub main ( )
Console.WriteLine (“VB.Net is very easy to learn yet a powerful language”)
End sub
End class
You liked the article?
Like: 3
Vote for difficulty
Current difficulty (Avg): Medium
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.