Public and Internal members in an Internal class?

后端 未结 5 823
暗喜
暗喜 2020-12-25 11:00

Ok, so this may be a bit of a silly question, and there\'s certainly the obvious answer, but I was curious if I\'ve missed any subtleties here.

Is there any differen

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-25 11:02

    If it comes to reflection it matters if the member is public or not:

    For example you even could pass a nested private class to a WPF binding and the binding would work against the public properties just as usual.

提交回复
热议问题