VB.Net Tutorial/Class Module/Module
Put code in a Module
Module Module1
Sub Main()
Console.WriteLine("My first VB.NET Program")
End Sub
End Module
My first VB.NET Program
Reference variable in a Module
Module Module1
Dim I As Integer
Sub Main()
Dim I As Integer
"Module1.I = 5
I = 10
Console.WriteLine(Module1.I)
End Sub
End Module
0