Friday, December 22, 2017

C# reminder of the day sealed

When the keyword "sealed" is applied to a class, the sealed modifier prevents other classes from inheriting from it. In the following example, class B inherits from class A, but no class can inherit from class B Code sample class A {} sealed class B : A {} Source - MSDN

No comments:

How to Access a Home Lab Remotely Securely

Understanding Remote Access to Home Labs Definition and Common Use Cases A home lab is a personal network environment where technology e...