静态的反义词是什么?
我只是想知道静态的反义词是什么?我正在寻找一个词或术语来描述它。
例如:
#region Members
#region Static
private static Settings _Instance = null;
#endregion Static
#endregion Members
#region Properties
#region Static
/// <summary>
/// Gets the current instance of the settings class
/// </summary>
public static Settings Instance
{
get
{
if (_Instance == null)
{
_Instance = new Settings();
}
return Settings._Instance;
}
}
#endregion Static
#region Non Static?
#endregion Non Static?
#endregion Properties
如果我将代码分为静态区域和非静态区域,我应该将非静态区域称为什么?
它是非静态的吗?或者是否有一个实际的词来描述非静态的方法和属性
I was just wondering what is the opposite of static? Im looking for a word or terminology to describe it.
eg:
#region Members
#region Static
private static Settings _Instance = null;
#endregion Static
#endregion Members
#region Properties
#region Static
/// <summary>
/// Gets the current instance of the settings class
/// </summary>
public static Settings Instance
{
get
{
if (_Instance == null)
{
_Instance = new Settings();
}
return Settings._Instance;
}
}
#endregion Static
#region Non Static?
#endregion Non Static?
#endregion Properties
If Im seperating my code in to static and non-static regions what should I call my non-static region?
is it non-static? or is there an actual word to descripe methods and properties that are not static
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
“实例”通常是“实例方法”、“实例变量”等。如果您发现更简单,非静态也可以。
我不确定我是否真的把所有虽然这些地区...
"Instance" usually - "instance methods", "instance variables" etc. Non-static works too, if you find that simpler.
I'm not sure I'd really put all those regions in though...
非静态是正确的。 “实例”一词更常用于描述内存中对象或类的特定出现。
Non-static would be correct. The word "instance" is more commonly used to describe a particular occurrence of a object or class in memory.