Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / srinivas.r

YES its posiible to have a method with same name in the
derived class provide with
1. base class method should be hided by removing virtual
keyword.
2.use new keyword in derived class instead of override.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does string intern do?

1050


What are the Types of compatabilities and explain them

1008


What is event delegate in c#?

1093


When can a derived class override a base class member?

899


What are constants in c#?

966


What is protected internal modifier in C#?

1055


What is a Command Object in C#?

1039


What is nameof c#?

906


What is delegate in c# interview questions?

1001


Why do we use yield in c#?

927


What is razor view in c#?

839


Wht executescaler method is used?

967


Does constructor return any value in c#?

959


Explain manifest & metadata in c#.

1014


What is tuple in c#?

916