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

What is a Assembly?

534


What is dependency injection?

553


What are Memory foot print of an exe?

498


how to insert the data from the grid view to database table though button click.pls send the answer to mail id suri1319@gmail.com

1486


Why ienumerable is used in c#?

465






What is unmannaged code and will CLR handle this kind of code or not .

583


how background thread access to ui control?

583


Do events have return type c#?

498


Explain dataset.acceptchanges method in .net?

537


What is the use of dll file in c#?

457


What is stringreader in c#?

480


What do you mean by jagged array?

483


Distinguish between array and arraylist in c#?

571


What is the purpose of namespace?

463


What is foreach loop in c#?

523