Option Strict On
Public Module CallStaticMethod
Public Sub Main()
Console.WriteLine(Greeting.SayHello())
End Sub
End Module
Public Class Greeting
Public Shared Function SayHello() As String
Return "And a top of the morning to you!"
End Function
End Class
Public Module CallStaticMethod
Public Sub Main()
Console.WriteLine(Greeting.SayHello())
End Sub
End Module
Public Class Greeting
Public Shared Function SayHello() As String
Return "And a top of the morning to you!"
End Function
End Class
No comments:
Post a Comment