c#中的protected和internal

it2022-05-07  12

protected限制子类访问,可以跨程序集

internal 限制此程序集访问,可以跨类

protected internal 限制此程序集的子类中访问

转载于:https://www.cnblogs.com/langu/p/3317056.html

相关资源:C# 修饰符:private protected internal public

最新回复(0)