If I have an abstract class nested inside a partial container class nested inside another class, how can I derive classes from the base class? I would think the following would work, but it says BaseClass isn't accessible due to protection level. I need the derived classes to be private though.
And before anyone tells me what a bad structure this is, this is why I might need it.
class SingletonClass
{
public static partial class ContainerClass
{
abstract class BaseClass
{
}
}
}
static partial class ContainerClass
{
class DerivedClass : BaseClass
{
}
}