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

Which language is used for desktop application?

893


What is a linq in c#?

823


Give an example to show for hiding base class methods?

804


How we can create an array with non-default values?

903


Why do we use threads in c#?

941


In c#, what will happen if you do not explicitly provide a constructor for a class?

905


What are satellite assemblies? How will you get the different language strings?

862


Explain data types in c#?

885


What are Memory foot print of an exe?

943


Can we override interface methods in c#?

804


How do you use nullable?

878


In which format you can pass the value in the sleep function?

883


What is null propagation c#?

933


List down the different ide’s provided by microsoft for c# development.

827


What does string format do?

825