public new int AdjustedBaseValue
这里的新是什么意思或做什么?
这意味着您正在隐藏 int 值。它是在基类中声明的,并且您在派生类中重新声明它,从而有效地隐藏了基类版本。
查看文档here https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/classes#the-new-modifier了解更多信息。
参考示例here https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/new-modifier
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)