C# Difference between Nested classes vs child class without Polymorphism

后端 未结 0 1142
不知归路
不知归路 2020-11-22 01:24

Lets say C2 is a C1, and I need C2 to have access to M1, and C1 to not have access to M2. If I dont need Polymorphism, would the following code do the exact same thing as me

相关标签:
回答
  • 消灭零回复
提交回复
热议问题