Is method hiding ever a good idea

Posted by ScottS on Stack Overflow See other posts from Stack Overflow or by ScottS
Published on 2010-04-18T17:59:25Z Indexed on 2010/04/18 18:03 UTC
Read the original article Hit count: 408

Filed under:

In C# the new keyword can be used to hide a base class method without overriding the base class method.

I've never encountered a situation where hiding a method was the best choice available. Are there any situations where method hiding is the best choice?

© Stack Overflow or respective owner

Related posts about c#