Articles, Snippets, Code Samples for .Net Framework (C#, VB.Net)
A class can be marked as complete so that it can not be inherited further. You can use the following keyword to achieve this.
[VB] NotInheritable [CS] sealed
[VB] NotInheritable
[CS] sealed
Code Sample
[VB] Public NotInheritable Class Manager [CS] public sealed class Manager
[VB] Public NotInheritable Class Manager
[CS] public sealed class Manager
No comments:
Post a Comment