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 / kishore.a

There are two ways:
1: Make the base class as static.
2: Declare a privete constructor in the base class.

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the namespace for the thread class?

996


What is an assembly in dotnet?

1046


Is array thread safe c#?

921


List out the differences between array and arraylist in c#?

1048


Why abstraction is used in c#?

972


Can we have static indexer in c#?

948


what happens if you inherit multiple interfaces and they have conflicting method names?

929


What is desktop example?

967


What is scaffolding in c#?

990


What is namespace in oop?

982


What is predicate c#?

1027


What is method in c#?

935


Are structs faster than classes?

982


What are the string functions in c#?

1019


How big is int16?

994