.Net Framework
diana234339
no
展开
-
Common Language Runtime
The .Net Framework consists of two parts: CLR and FCL. The CLR provides the programming model that all application types will use. The CLR includes its own file loader, memory manager,security system,原创 2010-02-20 15:40:00 · 279 阅读 · 0 评论 -
CLR Type工作流程
一个已载入CLR的windows进程可以用于许多线程。每个线程创建时都会分配一个1MB大小的栈,这个栈用于存放传入函数的参数以及函数中定义的局部变量。栈的底部从存储地址的高位开始,向下增长。即使是再简单的函数都会拥有一些称为prologue code和epilogue code的代码。prologue code在一个函数开始工作前执行,完成对函数的初始化。prologue code的主要任务是在栈原创 2010-05-06 13:55:00 · 250 阅读 · 0 评论 -
C# Primitive、Reference 和Value Type
Primitive Type:能够定义成 “int a = 0”而不是必须通过new关键字定义的数据类型就是primitive type。下表是C#中的Primitive type对应的FCL类型 Reference Type:用new操作符定义,在托管堆中分配存储空间的数据类型是Reference Type。建立一个Reference Type的开销较大,可能触发垃原创 2010-05-06 16:16:00 · 463 阅读 · 0 评论