Interview Question
Qus: Difference between Managed and Unmanaged Code in .Net?
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.
Answers (2)