Community

Sealing Methods and Properties

(Peter Vogel) In general, it’s considered rude to seal classes because it prevents other developers from extending the class through inheritance. However, when you declare a base class it’s considered perfectly acceptable to mark some classes as overridable/virtual … and to leave some methods unma




Facebooktwittergoogle_plusredditpinterestlinkedinmail