Programming is Not Rocket Science, Don't let AI Write Your Code, Fight Back. And if you must use AI, find provenance, and Attribute. Long Live GNU/Linux. Full praise to SSA-Based Compilation.
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:
Post a Comment