Can we have the method in drived class with the same name
which is there in base class?

Answer Posted / alcheringa

yes we can have that. in order to invoke the method of the
same name we use base keyword before the method name.

if the method in the base class is virtual, which is the
case in most of the abstract classes we actually override
the method in the derived class.

it is therefore not a constraint in any way.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of inheritance are there in c#?

469


What is console based application?

464


Can extension methods access private members?

508


What is c# windows form application?

489


How can I make sure my c# classes will interoperate with other .net languages?

518






What is the syntax for calling an overloaded constructor within a constructor (this() and constructorname() does not compile)?

514


What is encapsulation in csharp?

507


Is static thread safe?

479


Is c sharp free?

533


Name the connections does microsoft sql server support?

477


What is delegates in c#?

490


What is null in database?

460


How can I access the registry from c# code?

506


What is meant by desktop application?

489


Explain states of a thread in c#?

517