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...

Can you prevent your class from being inherited and
becoming a base class for some other classes?

Answer Posted / shantanu singh patel

Yes you can make it by using Sealed keyword.

No when your class in Sealed you cant inherit the class
then the question of base class for some other class is not
significant.

Thanks and Regards,
Shantanu

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is hashmap in c#?

943


Why do canadians say zed?

996


Why do we use partial class in c#?

873


What does exclamation mark mean c#?

1001


Explain about Serialize and MarshalByRef?

944


Can you instantiate a struct without using a new operator in c#?

932


Explain a MSIL ? Why is it appreciated by all developers?

1098


Why do we use virtual methods in c#?

933


What is array c#?

899


What are the value types in c#?

936


What is default access modifier for class in c#?

1008


What are the boolean data types in c#?

1000


What are the different types of assembly?

1034


How many types of inheritance are there in c#?

895


Can you have an array of arrays?

944