★★创造未来★★

Only Creation Can Develop The World!

17.10.2 Instance variable initializers

When an instance constructor has no constructor initializer, or it has a
constructor initializer of the form
base(?), that constructor implicitly performs the initializations specified
by the variable-initializers of the
instance fields declared in its class. This corresponds to a sequence of
assignments that are executed immediately
upon entry to the constructor and before the implicit invocation of the
direct base class constructor. The variable
initializers are executed in the textual order in which they appear in the
class declaration.
阅读更多
文章标签: constructor class
个人分类: c#/c++
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭