C# provides many modifiers for use with types and type members. Of these, three can be used with classes: abstract, sealed and static.
Abstract
Indicates that a class is to be used only as a base class for other classes. This means that you cannot create an instance of the class directly. Any class derived from it must implement all of its abstract methods and accessors. Despite its name, an abstract class can possess non-abstract methods and properties.
Sealed
Specifies that a class cannot be inherited (used as a base class). Note that .NET does not permit a class to be both abstract and sealed.
Static
Specifies that a class contains only static members (.NET 2.0).
Wednesday, December 24, 2008
Modifiers - Abstract, Sealed, Static
Posted by
sivashiva
at
3:33 AM
Subscribe to:
Post Comments (Atom)
1 comment:
generic viagra india Buy Viagra Online No Prescription viagra blood pressure india viagra cialis vicodin is there a female viagra viagra uk cost pill viagra professional does watermelon have viagra effect viagra and cialis is viagra safe for women how to buy viagra viagra shelf life viagra uterine thickness does viagra really work
Post a Comment