How can I derive classes from a base class that is encapsulated in a manager class?
问题 I have a ManagerClass that manages classes that derive from an abstract BaseClass. I need it so that only the ManageClass can access certain methods on the BaseClass. I also need certain methods to be accessible outside the scope of the ManagerClass. Since C# doesn't have friends, I'm encapsulating the BaseClass inside the ManagerClass. The problem: BaseClass is not accessible to derive from Making BaseClass public,means allowing DoStuff() and DoOtherStuff() to be called from outside the