Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In the object-oriented world of .NET, it is quite possible to use method overloading in the code you develop. A true object-oriented language has support for polymorphism, of which method overloading is a part. Method overloading enables you to have multiple methods that use the same name but have different signatures. With method overloading, one method can be called, but the call is routed to the appropriate method based on the full signature of the request. An example of standard method overloading is illustrated in the following code listing:
Public Function HelloWorld() As String Return "Hello" End Function Public Function HelloWorld(ByVal FirstName As String) As String Return "Hello " & FirstName End Function