What is the equivalent of a 'friend' keyword in C Sharp?

前端 未结 7 1193
既然无缘
既然无缘 2021-02-18 15:52

What is the equivalent of a \'friend\' keyword in C Sharp?

How do I use the \'internal\' keyword?

I have read that \'internal\' keyword is a replacement for \'fr

相关标签:
7条回答
  • 2021-02-18 16:30

    Your subclass will be able to access the protected members of the class you inherit.

    Are you looking to give access to these protected members to another class?

    0 讨论(0)
提交回复
热议问题