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 you prevent classes to be inherited?

Answer Posted / chvramana

Using Keyword Sealed. You can created Sealed class and
You can prevent the class to be inherited.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does exclamation mark mean c#?

1064


what is a static constructor?

1270


How is lazy loading achieved?

982


Is unity object oriented?

988


What do you mean by a windows process in regards to memory allocation?

1008


What is winforms c#?

1078


Give an example of a ctype.

1073


Explain what is copy constructor?

1070


What is array formula?

956


Is a valid int value?

971


How does dependency injection work c#?

995


Define delay signing?

966


Difference between call by value and call by reference in C#?

1064


How many keyword present in C# language ?

1058


If the interface in c# only contains the declaration of the methods and we need to define those methods in the class, then why we use the interface?

1053