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 / umesh

Yes, just leave the class public and make the method sealed.

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we have multiple constructors in a class c#?

884


What is the difference between new and override in c#?

966


What are types in c#?

876


Can we inherit class that contains only one private constructor?

908


Why linq is having select clause at the end?

891


Why c# is called type safe language?

804


Why do we need a singleton class?

964


Why do we need serialization?

877


Can a constructor be private in c#?

880


What is yield in c#?

848


What is byte c#?

801


What are handlers in c#?

931


Explain about Serialize and MarshalByRef?

926


Why singleton is sealed?

832


What is static class in C#?

990