G
Guest
I would like to find a way to completely hide selected methods of a base
class when inheriting from that base class. I know how to override a method
and replace a base class method using the "new" modifier on the method, but
then the method of the derived class shows up. I would like to be able to
completely hide a method so that it doesn't show up at all in an application
that instantiates the derived class. Any help would be appreciated.
class when inheriting from that base class. I know how to override a method
and replace a base class method using the "new" modifier on the method, but
then the method of the derived class shows up. I would like to be able to
completely hide a method so that it doesn't show up at all in an application
that instantiates the derived class. Any help would be appreciated.