摘要: 1. unsafe与unmanaged的区别managed code是在CLR监管下运行的程序。以下任务由CLR来执行:管理对象内存,类型安全检测和冗余处理。从另一方面来说,unmanaged code也就是能由程序员直接进行内存操作的程序。而unsafe是介于managed和unmanaged之间的桥梁,它使得managed code也能使用指针来控制和操作内存。2. managed, unmanagedUnmanaged code is the good old C++ with no CLR support, therefore unmanaged code does not have 阅读全文
posted @ 2012-06-27 22:49 Let it be! 阅读(2986) 评论(0) 推荐(0) 编辑