how to initialize variables in VB.NET

VB is a very basic language. Its has a very was history .Is not type safe is C#.NET.
VB was created for the ease and flexibility in programming.

NOW, initializing variable in VB.

Dim var As Integer 
Dim str As String  

Here we have initialize two different variable to int  and string Data Type.
We do not need to write semicolon (;) in the end of  the code a VB script .

Comments

Popular posts from this blog

Installing and using LESS.(PART- 3)

Using AJAX for getting data on web pages without reloading them ?

Initializing list and collection in c#.net