Category: Visual Basic .NET

Constants in VB .NET

Sometime we want to use fixed value for specified variable. For this purpose we can use constants in VB .NET as follows: Const MAX_STUDENTS As...

Data Types in VB .NET

In this section I’ll discuss here about value types, initialization, type information and type conversion: Value Types ------------------------------------- Boolean Byte, SByte Char Short, UShort, Integer,...

Comments in VB .NET

In every programming language there is a facility to keep comments. The structure of comments in Visual Basic .NET is same as C/C++ or java....

Program Structure of Visual Basic .NET

Here is the basic structure of Visual Basic .NET program structure: Imports System Namespace Hello Class HelloWorld Overloads Shared Sub Main(ByVal args() As String) Dim...