can you overload a method of class A in Class B if it is
derived class of A?If it is yes tell me how is it possible?

Answer Posted / dhanunjaya

yes,we can overload.Most of the times we can overload a
method within same class only but overloading is possible
between classes.So internally overloading is possible in
class B.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Perfect Example Of While And Do-While Loop In C#.Net ?

640


What is .cshtml file?

583


What are the differences between a class and a struct?

579


What is the major difference between a custom control and user control?

642


Is datetime value type c#?

555






Distinguish between array and arraylist in c#?

647


Why do we use reflection in c#?

588


What is view model in c#?

551


What is the meaning of 0 in c#?

630


What is the task perform by clr?

656


Explain how obfuscator works in .net

628


What is boolean conditions in c#?

584


Can we have 2 main methods in c#?

562


What are synchronous and asynchronous operations?

565


What are the 2 broad classifications of fields in c#?

625