Qus:    Difference between Managed and Unmanaged Code in .Net?
Dec 12, 2020 19:27 DotNet 2 Answers Views: 1359 SHIVA

Managed code is the code that is written to target the services of the managed runtime execution environment such as Common Language Runtime in .NET while Unmanaged code compiles straight to machine code and directly executed by the Operating System, so, the generated code runs natively on the host processor and the processor directly executes the code generated by the compiler.

Prev Next
Answers (2)
PADMAKEECHU Dec 14, 2020 14:02
Answer:   C# compiler creates managed code. For unmanaged code, the application has to be written in C or C++.

PARTH Dec 14, 2020 14:16
Answer:   Managed code is the code that is written to target the services of the managed runtime execution environment such as Common Language Runtime in .NET while Unmanaged code compiles straight to machine code and directly executed by the Operating System, so, the generated code runs natively on the host processor and the processor directly executes the code generated by the compiler.

Post Your Answer
Guest User

Not sure what solution is right for you?

Choose the right one for you.
Get the help of the experts and find a solution that best suits your needs.


Let`s Connect