Does C# have the notion of private and protected inheritance?

前端 未结 10 1058
执笔经年
执笔经年 2020-12-16 09:02

Does C# have the notion of private / protected inheritance, and if not, why?

C++


class Foo : private Bar {
 public:
   ...
 }; 
         


        
10条回答
提交回复
热议问题