Quote Originally Posted by Mehdi Jazini View Post
yes thank you jmc but in the new example the base of the example was val function...

For beginners like me the 2nd example was better
It doesn't matter what method it is. An overloaded method is an overloaded method. What's the difference between your Val example and my DoSomething example? There really isn't any. It really seems like the word "example" has stopped meaning something that illustrates a principle that can then be applied elsewhere and now means the exact bit of code that you want to write.