Suppose I have BaseClass with public methods A and B, and I create DerivedClass through inheritance.
e.g.
public DerivedClass : BaseClass {} <
public DerivedClass : BaseClass {}
The only way to do this that I know of is to use a Has-A relationship and only implement the functions you want to expose.