我知道new关键字是在调用类构造函数,但是在哪个阶段我们为类分配内存?
new
根据我的理解,它应该对应于GCHandle.Alloc(Object)方法,但我无法找到连接.
GCHandle.Alloc(Object)
.net c# memory allocation
.net ×1
allocation ×1
c# ×1
memory ×1