Call Class Function in Module
In Module(S)
In Module(S)
Public Function ResultValue(ByVal x As Integer, ByVal y As Integer) As String
Dim CHelper As CHelper = New CHelper()
Return "The Result is :" & CHelper.Add(x, y)
End Function
In Class fileDim CHelper As CHelper = New CHelper()
Return "The Result is :" & CHelper.Add(x, y)
End Function
Public Shared Function ResultValue(ByVal x As Integer, ByVal y As Integer) As String
Return "The Module Result" & Module1.Add(x, y)
End Function
Return "The Module Result" & Module1.Add(x, y)
End Function