Mega Code Archive
Define and Call Function
Imports System
Public Class MainClass
Shared Sub Main(ByVal args As String())
Console.WriteLine("In Main! Calling SomeMethod( )...")
SomeMethod( )
Console.WriteLine("Back in Main( ).")
End Sub
Shared Sub SomeMethod( )
Console.WriteLine("Hi")
End Sub 'SomeMethod
End Class