O'Reilly logo
  • James Goldman thinks this is interesting:

If you derive from an abstract class, then unless you provide implementations for all the abstract methods, your derived class will also be abstract. You must state your intention to write an abstract class with the abstract keyword; if this is absent from a class that has unimplemented abstract methods (either ones it has defined itself, or ones it has inherited from its base class), the C# compiler will report an error. Example 6-24 shows an abstract class that defines a single abstract method. Abstract methods are virtual by definition; there would...


Cover of Programming C# 5.0


This seems to be a theme in C#. Explicitly state your intention. I approve.