Friday, October 3, 2008
A sealed class cannot be used as a base class.
Because they can never be used as a base class, some run-time optimizations can make calling sealed class members slightly faster.
For this reason, it cannot also be an abstract class.
Sealed methods can not be overridden.
A class member, method, field, property, or event, on a derived class that is overriding a virtual member of the base class can declare that member as sealed.
Also Read other Top Articles
- JSON Serialization in VS 2008
- Implementing Forms Authentication in Silverlight Application.
- Making GridView Rows or Individual Cells Clickable and Selectable.
- Enabling browser back button for GridView Paging and Sorting in Ajax 1.1 and 3.5 (using Visual Studio 2005/ Visual studio 2008)
- How to pass values from User Control to Page or calling Page methods from User Control.
- What is WCF?
- New features in C# 4.0
- C# to VB.NET and VB.NET to C# online free converter tools.