h1.post-title { color:orange; font-family:verdana,Arial; font-weight:bold; padding-bottom:5px; text-shadow:#64665b 0px 1px 1px; font-size:32px; } -->

Pages

Call Shared Function in VB.net

Call Shared Function in VB.net
To Create Helper Class file in your project.
 Private Shared str As String
 Public Shared Function Subtract(ByVal x As Integer, ByVal y As Integer) As String
        str = "The Result:" & x - y
        Return str
 End Function
Call Shared Function 
 MessageBox.Show(CHelper.Subtract(15, 10))
Note: you can't Shared Function in the Module