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

How long can loop recorders stay in?

1230


Why we use anonymous methods in c#?

1011


What are regular expressions? Search a string using regular expressions?

914


What are the Types of values mode can hold session state in web.config

1051


What is the purpose of ienumerable in c#?

1072


Which controls do not have events?

1070


What is delegates and events?

994


Define delegate?

1006


Is there a way to force garbage collection?

1069


What is datagridview in c#?

1186


What is the ouput of the following program?

1030


What does int32 mean in c#?

947


Where do we set the min and max pool size for connection pooling?

1019


Is stringbuilder better than string?

950


Is string immutable in c#?

1056