静态的用途是什么,它如何保护主干免受其他方法的特殊影响 [英] what is the use of static how it protects the main from other methods as a special method
本文介绍了静态的用途是什么,它如何保护主干免受其他方法的特殊影响的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
static的用途是什么.它对运行时说的是什么.指定意义的是什么
thanq
what is the use of static.what it says to the runtime.what it specifies the significance
thanq
推荐答案
看看:
http://www.blackwasp.co.uk/CSharpStaticBehaviour.aspx [ http://social.msdn.microsoft.com/论坛/en-AU/clr/thread/199b7536-501b-4c8b-9fcb-289b158e1be6 [
have a look at :
http://www.blackwasp.co.uk/CSharpStaticBehaviour.aspx[^]
http://social.msdn.microsoft.com/Forums/en-AU/clr/thread/199b7536-501b-4c8b-9fcb-289b158e1be6[^]
您不在网上搜索吗?第一个链接说明了有关该内容的所有内容(静态)
静态类和静态类成员(C#编程指南) [ ^ ]
Didn''t you search in web? 1st link says all things about that(static)
Static Classes and Static Class Members (C# Programming Guide)[^]
静态类的主要特征是:
它们仅包含静态成员.
它们无法实例化.
它们是密封的.
它们不能包含实例构造函数(《 C#编程指南》).
The main features of a static class are:
They only contain static members.
They cannot be instantiated.
They are sealed.
They cannot contain Instance Constructors (C# Programming Guide).
这篇关于静态的用途是什么,它如何保护主干免受其他方法的特殊影响的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文