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

What is default parameter in c#?

969


What does console readline do?

874


What is difference between var dynamic and object in c#?

940


How to exclude a property from xml serialization?

1017


What is local function?

939


Is list immutable in c#?

876


Why do we need delegates?

870


Can a method be sealed in c#?

916


What is dll hell, and how does .net solve it?

968


what is collections in .net? why we use?

2154


What is a Command Object in C#?

1032


What operator means?

881


What is the main method in c#?

1080


What is difference between variable and property in c#?

892


Define xslt.

935