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 Class file Function in VB.net

Call Class file Function in VB.net

To Create Helper Class file in your project.
Public Class CHelper
    Public Function Add(ByVal x As Integer, ByVal y As Integer) As Integer
        Return x + y
    End Function
End Class

Call Class in the VB.net form

Dim cls As CHelper = New CHelper()
MessageBox.Show("The Result:", CStr(cls.Add(10, 10)))