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

Why do we use stringbuilder in c#?

873


What is definition in c#?

822


Why is xml called extensible?

819


Why do we need to serialize data?

833


Why are local variables stored in stack?

966


What are the commonly used i/o classes?

914


To allow an element to be accessed using a unique key which .NET collection class is used ?

1039


C# called c sharp why?

944


What is scope c#?

821


Why are strings in c# immutable?

877


What is interface used in c#?

961


What is a scope in c#?

843


What is the difference between ienumerable and enumerable?

850


Why do I get a security exception when I try to run my c# app?

945


What do you mean by abstract class in c#?

908