Current .Net Version: 1.1.4322
Home
Articles
Practice C# Online
C# Reference
XML Web Services
RSS Feeds
T-SQL Scripts
Videos
Valuable Links
Contact Us
Mike's C#, VS.NET and SQL Blog
ROR XML Info.
C# Reference
The world's largest C# Language & Framework Class Library Reference Database (second only to Microsoft's)!
Language Reference:
Language Search:
Framework Class Library Reference:
Framework Class Library Search:

sealed
Is a:Modifier Keyword
Applies to Version:C# 1.0 and later
Namespace:N/A
Assembly:N/A (N/A)
Description:Marks classes as non-inheritable. In other words, you cannot derive a class from a another marked as sealed. Structs are inherently sealed and can never he inherited (derived).
Example(s):public sealed class Test1 { } // oops, the following will generate an error: public class Test2 : Test1 { }
 
COPYRIGHT/DISCLAIMER | CONTACT US