C#'s “protected internal” means “protected” *OR* “internal”. Does any keyword mean “protected” *AND* “internal”? [duplicate]
问题 This question already has answers here : How to make a property protected AND internal in C#? (7 answers) Closed 6 years ago . I need to declare a member that is both protected AND internal. However, to my complete bafflement, I just discovered the hard way that "protected internal" actually means protected OR internal. Is there any access modifier that means protected AND internal? 回答1: Though the CLR supports it, in C# there is no way to force a member to be protected AND internal. Both C#