Sunday, 22 July 2012

What are Sealed Classes in C#?

The sealed modifier is used to prevent derivation from a class. A compile-time error occurs if a sealedclass is specified as the base class of another class. (A sealed class cannot also be an abstract class)

No comments:

Post a Comment