A function Overloading is a common way of implementing polymorphism. It is the ability to redefine a function in more than one form. A user can implement function overloading by defining two or more functions in a class sharing the same name. C# can distinguish the methods with different method signatures (types and number of arguments in the argument list).
Note: You cannot overload function declarations that differ only by return type.
A function Overloading is a common way of implementing polymorphism. It is the ability to redefine a function in more than one form. A user can implement function overloading by defining two or more functions in a class sharing the same name. C# can distinguish the methods with different method signatures (types and number of arguments in the argument list).
Note: You cannot overload function declarations that differ only by return type.
need an explanation for this answer? contact us directly to get an explanation for this answer