- A Class from which is not possible to derive a new class is know as Sealed class.
- To make a class as Sealed we use keyword Sealed.
- A Sealed class can not contain Abstract functions.
- A Sealed class can not containVirtual Functions.
- A Sealed class can never be used as a base class.
- A Sealed class is especially used to avoid further Inheritance.
- The Sealed keyword can be used with Classes, Instance met hods and Properties.
Ad
Search This Blog
Saturday, October 19, 2013
Sealed Class in C#
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment