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

Can you pass parameters to destructors?

531


What is instantiating a class?

511


Why is static constructor called first?

480


What is the usage of OLE?

588


What is difference between list and dictionary in c#?

462






What is oledbconnection c#?

492


Why do you call it a process? What’s different between process and application in .net, not common computer usage, terminology?

537


What is float in unity?

505


Is for loop faster than foreach?

531


Why is main static in c#?

519


How big is an int in c#?

514


How to parse a date time string?

536


What is deferred execution in c#?

516


What is data binding c#?

534


Are objects passed by reference in c#?

523