Does this keyword exist? When an overriding method needs to call the parent

Posted by Carlos on Stack Overflow See other posts from Stack Overflow or by Carlos
Published on 2010-05-20T08:36:25Z Indexed on 2010/05/20 8:40 UTC
Read the original article Hit count: 176

Filed under:
|
|

Often, in C# documentation, you come across a member where the description says something along the lines of "be sure to call the base method if you override this."

Is there a way to ensure at compile time that one has actually called the base function?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET