单词 | static classes | ||
释义 | static classes
例句释义: 静态类 1. Static classes and class members are used to create data and functions that can be accessed without creating an instance of the class. 静态类和类成员用于创建无需创建类的实例就能够访问的数据和函数。 msdn2.microsoft.com 2. Do not declare or override instance members in static classes. 不要声明或重写静态类中的实例成员。 msdn2.microsoft.com 3. Non-static classes should also define a static constructor if the class contains static members that require non-trivial initialization. 非静态类别如果包含需要非一般初始化的静态成员,则也应该定义静态建构函式。 msdn.microsoft.com 4. Static classes can be used when there is no data or behavior in the class that depends on object identity. 当类中没有依赖对象标识的数据或行为时,就可以使用静态类。 msdn2.microsoft.com 5. Static classes should be used only as supporting classes for the object-oriented core of the framework. 静态类只应用作面向对象的框架核心的支持类。 technet.microsoft.com 6. Describes guidelines for designing static classes. 描述设计静态类的准则。 msdn2.microsoft.com 7. Static classes are sealed classes containing only static methods. 静态类是仅包含静态方法的密封类。 msdn2.microsoft.com 8. You should also remember that static classes that preserve state between method calls should be made thread safe by default. 您还应该记得,在方法调用之间保留状态的静态类在默认情况下应该是线程安全的。 blog.sina.com.cn 9. They were going to create a classless society, and they have created the strictest society with static classes. 他们想创造一个没有阶级的社会,却创造出了有最僵化严格的阶级社会。 p0w3.spaces.live.com 10. The following guidelines help ensure that your static classes are correctly designed. 下面的准则有助于确保正确设计静态类。 msdn2.microsoft.com 1. For more information, see Static Classes and Static Class Members. 有关更多信息,请参见静态类和静态类成员。 msdn2.microsoft.com 2. Can be used as an alternative to static classes. 可以用作静态类的替代品。 www.cnblogs.com 3. Finally, document your static classes well. 最后,请对您的静态类进行很好的记录。 www.cnblogs.com 4. All static classes are also sealed classes. 所有静态类也都是密封类。 msdn2.microsoft.com 5. By the end of the article, you will come away with best prac-tices for the use of static members and static classes in your apps. 在本文结尾,您还会看到在应用程序中使用静态成员和静态类的最佳做法。 www.cnblogs.com 6. Do use static classes sparingly. 请慎用静态类。 msdn2.microsoft.com 7. Visual Basic does not support static classes. VisualBasic不支持静态类。 msdn2.microsoft.com |
||
随便看 |
|
英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。