... SDK (Software Development Kit) 软体开发套件 软件开发工具包 sealed class 密封类别 密封类 search 搜寻 查找 ...
基于26个网页-相关网页
A sealed class cannot be used as a base class.
密封类别不能当做基底类别使用。
What is the difference between a class having private constructor and a sealed class having private constructor?
的区别是什么类拥有私有构造函数和一个密封的类有私有构造函数吗?
Because they can never be used as a base class, some run-time optimizations can make calling sealed class members slightly faster.
由于密封类从不用作基类,所以有些运行时优化可以使对密封类成员的调用略快。
应用推荐