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...

How to make a class non-inheritable other than sealed?

Answer Posted / chanchal rai

yes we have only one option to make none inheritable other than sealed.....we ll have to make the class Private.whenever we do use the Private keyword in the class for make it private than no any methods and class can inherit from that class

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are delegates in C#?

1079


What are the 4 pillars of any object oriented programming language?

936


Is c sharp open source?

927


Explain About CLS?

1033


Can class be protected in c#?

971


What is the use of console readline () in c#?

910


What does protected internal access modifier mean?

1224


Is it possible to restrict the scope of a field/method of a class to the classes in the same namespace?

1056


My switch statement works differently! Why?

970


How to handle exceptions that are raised in a component?

1156


What is difference between ienumerable and iqueryable in c#?

984


What is the importance of closing an ado.net application?

952


What is datetime minvalue in c#?

1085


What is deferred execution?

938


Why abstraction is used in c#?

979