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

What are Sealed Classes in C#?

Answer Posted / gpriya

A sealed class cannot be inherited. It is an error to use a
sealed class as a base class. Use the sealed modifier in a
class declaration to prevent inheritance of the class.

It is not permitted to use the abstract modifier with a
sealed class.

Structs are implicitly sealed; therefore, they cannot be
inherited.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between the "throw" and "throw ex" in .net?

1044


How to put assembly in gac?

947


What are reflections in c#?

950


what is the difference between interface and multiple interface?

1165


Does c# have functions?

953


What is executereader in c#?

959


What is .cs file in c#?

976


Can datetime be null c#?

919


code for arranging given number in possible permutation ways ex:123,321,312,132,231,213.

2230


what is the scope of anonymous type ?

1101


What are the differences between value types and reference types?

1198


What is linq c#?

922


Does c# provide copy constructor?

1079


What operators can be used to cast from one reference type to another without the risk of throwing an exception?

944


What is the use of oops in c#?

969