Qus:    Difference between Managed and Unmanaged Code in .Net?
Dec 12, 2020 13:27 2 Answers Views: 99 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 08:02
Answer:   C# compiler creates managed code. For unmanaged code, the application has to be written in C or C++.

PARTH Dec 14, 2020 08: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 course is right for you?

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


Let`s Connect