How to call methods in a class

May 3, 2012 at 7:18 PM
Edited May 3, 2012 at 9:24 PM

Dim cls as new CustomFunctions

?? how can we call "Callme" method of the instance cls



Public Class CustomFunctions

Public ReadOnly Property Callme(ByVal a As Integer, ByVal b As Integer) As Integer                Get        

    Return Product(a, b)

End Get       

End Property

Private function Product(a as integer, b as integer)

 return a * b

end function

End Class