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 you allow class to be inherited, but prevent the method
from being over-ridden?

Answer Posted / anubhav gupta

We can use shadowing concept.
For shadowing use New keyword in derived class method.
Through this we can prevent the method from being over
ridden.

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a int in c#?

882


What is ControlBox Propertie

1004


Can I use parseint?

885


What operator means?

881


What is linq c#?

887


What is the difference between int.parse and int.tryparse methods?

1052


list the steps in code compilation in c#?

864


What is lazy in c#?

936


What are extender provider components?

898


How do you achieve polymorphism in c#?

896


Can you pass value types by reference to a method?

942


Why constructor is used in c#?

909


What is sorted list in c#?

894


what is be the overhead, if i use binary transmission. and will it be sent using xml text or how ?

2084


What is difference between the "throw" and "throw ex" in .net?

953