A.Public Class MyClassToExpose Public Function Calc () As Integer 'Implementation code goes here.End Function End Class
B.Public Interface IMyClassToExposePublic Function Calc () As Integer End InterfacePublic Class MyClassToExpose Implements IMyClassToExpose Public Function Calc () As Integer 'Implementation code goes here.End Function End Class
C. Public Class MyClassToExposePublic Function Calc() As Integer 'Implementation code goes here. End Function End Class
D.E.AutoDispatch) >Public Class MyClassToExpose Public Function Calc () As Integer 'Implementation code goes here.End Function End Class