静态的反义词是什么?

时间:2011-06-09 13:27:00

标签: c# terminology

我只是想知道静态的反面是什么?我正在寻找一个词或术语来描述它。

例如:

#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

如果我将我的代码分隔到静态和非静态区域,我应该将其称为非静态区域?

是非静态的吗?或者是否有一个实际的词来描述非静态的方法和属性

2 个答案:

答案 0 :(得分:29)

“实例”通常 - “实例方法”,“实例变量”等。如果您发现更简单,非静态也可以。

我是not sure I'd really put all those regions in though ...

答案 1 :(得分:1)

非静态是正确的。单词&#34;实例&#34;更常用于描述内存中对象或类的特定事件。

相关问题