variable declaration vb.net code example
Example 1: visual basic how to declare a variable
Dim intNumber1 As Integer
Example 2: variables vb.net
Dim [VarName] As [DataType]
[VarName] = [Data]
Console.WriteLine([VarName]) 'outputting variables in CMD (Command Prompt)
MsgBox([VarName]) 'outputting variables in a message box