Item 14: Minimize Duplicate Initialization Logic(Effective C#)
摘要:
Here is theorder of operations for constructing the first instance of a type: 1. Static variable storage is set to 0. 2. Static variable initializers execute. 3. Static constructors for the base class execute. 4. The static constructor executes. 5. Instance variable storage is set to 0. 6. Ins 阅读全文
posted @ 2011-01-24 22:33 Ray Z 阅读(166) 评论(0) 推荐(0) 编辑