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

Which controls do not have events?

1031


What is c-sharp (c#)?

955


How does the lifecycle of Windows services differ from Standard EXE?

1026


Can c# inherit multiple classes?

962


Are c# objects passed by reference?

902


How does dependency injection work c#?

954


What is the example of predicate?

924


Why are strings in c# immutable?

935


Is null == null c#?

896


What is difference between arraylist and list in c#?

901


What is the default value of decimal in c#?

929


List some of the basic string operation?

941


Can struct be static in c#?

1076


Can you inherit from a static class in c#?

947


What is meant by console programming?

935