>In the same class, I created a private method. Then, I overloaded the method so it could also accept a different type for the parameter. So, the first declaration accepts an integer. The overaload declaration accepts a string. When running the application, I got an error telling me that the method was not found. I had to make them Public so to have it work. Why is that?
From your description:
Class SomeClass
Private Sub Test()
DoSomething("Hello")
DoSomething(3)
End Sub
Private Sub DoSomething(s As String)
End Sub
Private Sub DoSomething(i As Integer)
End Sub
End Class
What doesn'r work ?