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

We can also make the methods sealed.In that case ,the class
can inherit but the sealed methods in that class cannot

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is dataadapter c#?

867


What is a dll in c#?

881


Can we make a class private in c#?

927


Can a method be sealed in c#?

902


What are the Configuration files in .net?

940


In a site to turn off cookies for one page which method is followed?

940


What is difference between Trace and Debug

1060


Is java better than c sharp?

944


How do you escape a character?

924


What is the base class of all classes in c#?

979


Explain the difference between the debug class and trace class?

875


Can we change static variable value in c#?

904


Explain the difference between passing parameters by value and passing parameters by reference with an example?

910


What is routing in c#?

887


How do you implement thread synchronization in c#?

879