Main function call your function
Imports System
public class MainClass
Shared Sub Main()
Console.WriteLine("In Main! Calling SomeMethod()")
SomeMethod()
Console.WriteLine("Back in Main().")
End Sub
Shared Sub SomeMethod()
Console.WriteLine("Greetings from SomeMethod!")
End Sub
End Class
Related examples in the same category