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 the difference between delegates and events in c#?

511


How to rotate an Image in C#?

668


What is difference between gridview and form view?

627


What is interface c#?

541


What is xml serialization in c#?

555






Explain how do I convert a string to an int in c#?

593


What are the concepts of dispose method?

570


How do I enforce const correctness in c#?

609


What is dynamic object in c#?

591


What are primitive types in c#?

611


What is verbatim string?

590


What is parsing?

606


What is xamarin used for?

589


What is the meaning of extention?

557


Is collection a data structure?

623