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 difference between constants and read-only?

949


Is an interface a type c#?

955


How can you set image source dynamically from c# application to ”test.png” file?

1077


What Is An Interface Class?

1057


What is ioc containers c#?

884


What is mvc firstordefault?

915


Are c# constructors the same as c++ constructors?

952


Can class be protected in c#?

928


Can we use "this" command within a static method?

999


Define using statement in c#?

942


What are the different states of a thread?

928


What is fcl in c#?

874


What is boxing & unboxing?

1007


What are the types of parameters in c#?

985


What is ilasm.exe used for?

922