What is Signature and parameter in overloading ?

Answer Posted / rahul shanbhag

Signature overloading is just method overloading where you have same function varying in sequence of parameters or type of parameters. In this case the return type may be the same or varying..

Parameterised polymorphism happens at class level where the paramenters passed to the constructor decides the type of the object. For ex in generic collections if you say List<int> would create a list with integer elements and List<string> would create List with string elements.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 3 different types of arrays?

559


What is continue in c#?

509


what is the difference between convert.tostring() and tostring() functions ?

570


How can I get the ascii code for a character in c#?

565


What is argument in c#?

517






Please explain the basic string operations used in c#?

543


Explain About friend and Protected friend

519


Why do we need interface in c#?

496


What is an argument in c#?

471


What is the use of console readkey ()?

474


Explain more on CLR

747


Define sealed classes in c#?

511


What are the delegates in c#?

476


Why data types are important in c#?

479


You are designing a user control. You created new property called backgroundimage which is of type image. You wanted to disable storing this property in the user’s form. How to achieve this?

522