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 prevent your class from being inherited and becoming
a base class for some other classes?

Answer Posted / rakesh

We can also make the methods sealed.In that case ,the class
can inherit but the sealed methods in that class cannot

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c# queue thread safe?

1008


What is the difference between read and readline in c#?

996


What is the difference between convert and parse in c#?

992


Difference between value and reference type.

968


How long does it take to get a loop recorder put in?

898


What do you mean by sealed classes and static classes?

1053


How do you prevent a method from being overridden in c#?

917


Why do we use static class in c#?

964


Can abstract class have private constructor c#?

1019


How big is an int in c#?

1030


What is the difference between parse and tryparse in c#?

1090


In a single .NET DLL how many classes it contains?

979


What do you know about WM_CHAR message?

1033


What are the types of access modifiers?

957


What is the purpose of the integer parse method the decimal parse method?

1181