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 does the parsefloat function do?

870


What is the main method?

877


What is difference between out and ref in c#?

956


What is a hashset c#?

964


What is option parameter in C#?

925


What do you mean by jagged arrays in c#?

843


What is main thread in c#?

861


Difference between value and reference type. What are value types and reference types?

939


How many bits is int32?

894


Can namespace contain the private class?

889


Explain the steps to create satellite assembly?

845


Describe two uses of the “using” statement during the operation of c#?

899


How can you reference current thread of the method ?

908


What is the process of Serialization?

952


Why do we use static methods in c#?

964