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 / dhanunjaya

yes,By using a keyword called "sealed".a sealed class can
never be a base class for any class,it is the bottom most
class in a class hierarchy.......so it cant be be base
class further more....

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is dynamic dispatch?

949


What is the different types of private assembly and shared assembly?

985


What is xamarin used for?

920


What's the c# syntax to catch any possible exception?

1032


What are the properties in c#?

923


What is icomparer in c#?

918


What is the difference between read and readline in c#?

910


How does array sort work?

878


What is property in c#?

903


Why is c# a good programming language?

980


What is an array? Give the syntax for a single and multi-dimensional array?

886


Is namespace a class?

865


Can you instantiate an abstract class c#?

883


What are escape sequences explain with example?

934


What is the difference between ienumerable and enumerable?

894