Is it possible to have method have methods that are only callable externally and never callable internally? If so how?
Public Class Foo
Public Sub New()
Bar ' Should fail to compile as Bar is only accessible externally.'
End Class
Public External Sub Bar()
End Sub
End Class
No, that’s not possible in C# or VB. Why would you want to do that anyway? Why would you “trust” the code within the class less than the code outside it?