Grisson's .net

源码之前,了无秘密

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

Here is the order of operation for constructing the first instance of a type.

          1. static variable storage is set to
          2. static variable initializers execute
          3. static constructor for the base class execute
          4. the static constructor execute
          5. instance variable storage is set to 0
          6. instance variable initializers execute
          7. the appropriate base class instance constructor executes
          8. the instance constructor executes
posted on 2005-08-12 19:47  海盗  阅读(279)  评论(0)    收藏  举报