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 can we main a Class as base class,i.e not inherited
further?{please Dont tell using Sealed class,any other way}

Answer Posted / palash

Very Simple....
Create one private Constructor inside the class then we are
not create any object of that class.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between call by value and call by reference in C#?

1021


What is a method signature c#?

963


What is a linked list c#?

896


How many types of delegates are there in c#?

959


What are satellite assemblies?

974


Why do we need to override in c#?

974


What is transparent caching with aop ?

1097


What are the different types of classes in c#?

953


What is a multi line comment?

965


What is data type in c# with example?

1042


How do switch statements work?

909


Explain different properties of object oriented systems.

984


Is var a data type?

943


What is the main purpose of xml?

931


How do you create empty strings in c#?

940