Friday, 14 November 2014

How to Create a Protected Method in a Sealed Class in C#?

Can't be done and in fact doesn't make sense; given that a sealed class cannot be inherited. Similarly, it makes no sense to create an abstract method in a sealed class. Sealed classes can inherit from other classes though.

No comments: