There’s some code in our project that looks a bit like this:
Private Sub Method1() Call InnerMethod End Sub Private Sub Method2() InnerMethod End Sub Private Sub InnerMethod() '' stuff End Sub
What’s the advantage of doing Method1 over Method2?
From the MSDN:
For example:
In the immediate window, if you enter
then ‘Hello World’ prints. If you enter
then ‘Hello World’ prints. If you enter
then ‘Hello World’ prints. If you enter
you get a compile error. You would have to enter