托管和非托管code。在.NET [英] Managed and unmanaged code in .NET

查看:158
本文介绍了托管和非托管code。在.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

之间管理code和非托管code有什么不同,在.NET框架方面?

解决方案
  

管理code是一个分化   由微软创建,以确定   code,需要   并且只有在执行   一个 CLR 虚拟机时,导致   字节code

     

使用管理code的好处包括:   程序员方便(通过增加   抽象级别,创建   小模型)和增强安全性   担保,根据不同的平台   (包括VM实现)。

来源:维基百科:管理code

What is difference between managed code and unmanaged code in terms of the .NET framework?

解决方案

Managed code is a differentiation created by Microsoft to identify code that requires and will only execute under the "management" of a CLR virtual machine, resulting in Bytecode.

Benefits of using managed code include programmer convenience (by increasing the level of abstraction, creating smaller models) and enhanced security guarantees, depending on the platform (including the VM implementation).

From: Wikipedia: Managed Code

这篇关于托管和非托管code。在.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆