本文介绍了点网中的访问修饰符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
点网中使用的访问修饰符的级别是什么?
What are the level of the access modifier used in the dot net ?
推荐答案
There are 5 types access modifiers in dotnet, Those are :-
Private = Accessible only within class
protected = Accessible within the class as well as within child class
internal = Accessible within the same project
protected internal = Accessible within project and child class out side project
public = Accessible every where
也尝试此链接
C#访问修饰符快速参考 [ ^ ]
try this link also
C# Access Modifiers Quick Reference[^]
这篇关于点网中的访问修饰符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!