C#: is there way for a class to 'remove' methods that it has inherited

Posted by Craig Johnston on Stack Overflow See other posts from Stack Overflow or by Craig Johnston
Published on 2010-05-06T07:06:37Z Indexed on 2010/05/06 7:08 UTC
Read the original article Hit count: 219

Filed under:
|
|

Is there way for a class to 'remove' methods that it has inherited?

eg. If I don't want my class to have a ToString() method can I do something so that it is no longer available?

© Stack Overflow or respective owner

Related posts about c#

Related posts about object-oriented