CLR via C# - 1. Type fundamentals
2012-12-09 21:19 小郝(Kaibo Hao) 阅读(183) 评论(0) 编辑 收藏 举报The address structure of the type object and type
Note:
- Every object on the heap requires some additional members—called the type object pointer and the sync block index—used by the CLR to manage the object .
- System.Object’s GetType method simply returns the address stored in the specified object’s type object pointer member . In other words, the GetType method returns a pointer to an object’s type object, and this is how you can determine the true type of any object in the system (including type objects) .
作者:小郝
出处:http://www.cnblogs.com/haokaibo/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
出处:http://www.cnblogs.com/haokaibo/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。