Managed and unmanaged code in .NET

前端 未结 3 1530
情话喂你
情话喂你 2021-01-21 05:42

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

3条回答
  •  猫巷女王i
    2021-01-21 05:49

    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

提交回复
热议问题