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 is inline function in c#?

734


What are the different types of delegates?

700


How we can create an array with non-default values?

736


list the steps in code compilation in c#?

675


What is difference between overloading and short circuiting?

724


How do you create partial methods?

754


What is the meaning of MSIL?

874


What is the difference between method overriding and method overloading?

679


Is overriding of a function possible in the same class?

702


What is global namespace in c#?

718


Explain the use of virtual, sealed, override, and abstract method?

676


Can we instantiate abstract class in c#?

680


When Should You Call The Garbage Collector In .net?

798


How do I download a program to my desktop?

668


Where do we use serialization in c#?

692