Archive

Posts Tagged ‘Overloads’

How to create a method or constructor overload using CodeRush

July 31st, 2012 Comments off

The process of creating more than one method in a class with the same name is called as method overloading. Method overloading allows the developer to define several methods with the same name but with a different set of parameters. This way, one does not have to remember the names of multiple functions that serve a similar core purpose. When a call is made to one of these overloaded methods, the compiler automatically determines which of the methods should be used according to the arguments used in the call.

Read more…