Qus:    How is a Managed code executed?
Oct 13, 2020 08:55 2 Answers Views: 807 NAIDU


Managed execution process is a process where CLR executes the managed code. The steps involved in this process are:

1. Compiler needs to be chosen.

2. Convert the source code to MSIL now known as CIL.

3. Convert MSIL to Native code using JIT.

4. Executing code and various services.

Prev Next
Answers (2)
FRAUSKY Oct 14, 2020 01:58
Answer:   The steps for executing a managed code are as follows:
• Choose a language compiler depending on the language of the code.
• Convert the code into Intermediate language using its own compiler.
• The IL is then targeted to CLR which converts the code into native code using JIT.
• Execution of Native code.

PARTH Oct 14, 2020 09:15
Answer:   Managed code is a code whose execution is managed by Common Language Runtime. It gets the managed code and compiles it into machine code. After that, the code is executed. The runtime here i.e. CLR provides automatic memory management, type safety, etc.

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