Prevent Exposure of Base Classes (Abstract Classes)
问题 So I looked through many related questions and none of them seem to fit all the way. At least not in my current understanding. As this is a simple issue, I'm going to be concise with my question and code. I have five classes: internal class A internal abstract class B : A internal abstract class C : B public class D : C public class E { public void X(C c) { } } There is an obvious accessibility issue here with the parameter C being used in a public method. I need to access class D without