How can you overload a method?

Answer Posted / swapna

we can overload a method by giving same method names with
different parameters. Parameters may differ in data type or
in number.
This is called method overloading .

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a concrete class in c#?

767


How do I download a program to my desktop?

670


What is the purpose of escape sequence?

810


How do I enforce const correctness in c#?

731


Explain the serialization in .net

751


Why is c# used?

690


Give some examples of commonly used i/o classes?

702


What is IL / CIL / MSIL?

899


What method is used to sort the elements of the array in descending order?

754


What is concrete method in c#?

701


Explain the difference between user control and custom control. Also, explain their use.

824


Explain the top reason to use c# language?

727


What is data types in c#?

730


What are the namespace level elements?

704


How do you encapsulate in c#?

685