Jon Jagger
jon@jaggersoft.com
Table of Contents 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Notes DownloadECMA-334 C# Language Specificationpreviousnextprevious at this levelnext at this level 17 Classesprevious at this levelnext at this level 17.1 Class declarationsprevious at this levelnext at this level 17.1.1 Class modifiersprevious at this levelnext at this level 17.1.1.2 Sealed classes Paragraph 11 The sealed modifier is used to prevent derivation from a class. 2 A compile-time error occurs if a sealed class is specified as the base class of another class. Paragraph 21 A sealed class cannot also be an abstract class. [Note: The sealed modifier is primarily used to prevent unintended derivation, but it also enables certain run-time optimizations. In particular, because a sealed class is known to never have any derived classes, it is possible to transform virtual function member invocations on sealed class instances into non-virtual invocations. end note]
{ JSL }
Jagger Software Ltd
Company # 4070126
VAT # 762 5213 42
Valid HTML 4.01Valid CSS