J
JollyK
Hello everyone,
I have an abstract class (classA) and in my abstract class I have a few
protected methods. Now I have another abstract class (classB) that inherits
from classA. Now both classA and classB are in the same assembly
(assembly1). Now in another assembly (assembly2) I have a sealed class
(classC) that inherits from classB. My problem is that the protected members
from classA are available in classC. By marking them protected internal
doesn't help either. Is there anything that I can do that would hide the
members of classA in classC ?
I have an abstract class (classA) and in my abstract class I have a few
protected methods. Now I have another abstract class (classB) that inherits
from classA. Now both classA and classB are in the same assembly
(assembly1). Now in another assembly (assembly2) I have a sealed class
(classC) that inherits from classB. My problem is that the protected members
from classA are available in classC. By marking them protected internal
doesn't help either. Is there anything that I can do that would hide the
members of classA in classC ?