C# access modifiers
版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://feishunji.blog.51cto.com/237830/44629 |
This topic may be regarded as low leveled.
However so many buddies are stuglling with this issue that I'll no more keep silent.
Actually, it is not much complex as someone imagine, I will conclud with little words as follows:
Private = Grant Any code in this class . Reverse : code outside, including subclasses is denied. Protected = Grant Any code in this class and subclasses of it. Code outside is denied. Public = Grant Any code inside or outside. Internal = Grant Any code inside this Assembly. 本文出自 “费费笔记” 博客,请务必保留此出处http://feishunji.blog.51cto.com/237830/44629 本文出自 51CTO.COM技术博客 |


feishunji
博客统计信息
热门文章
最新评论
友情链接