Managed Execution Process
The managed execution process includes the following steps:
-
To obtain the benefits provided by the common language runtime, you must use one or more language compilers that target the runtime.
Compiling your code to Microsoft intermediate language (MSIL).
Compiling translates your source code into MSIL and generates the required metadata.
Compiling MSIL to native code.
At execution time, a just-in-time (JIT) compiler translates the MSIL into native code. During this compilation, code must pass a verification process that examines the MSIL and metadata to find out whether the code can be determined to be type safe.
-
The common language runtime provides the infrastructure that enables execution to take place as well as a variety of services that can be used during execution.
See Also
Inside the .NET Framework | Choosing a Compiler | Compiling to MSIL | Compiling MSIL to Native Code | Executing Code | Assemblies | Application Domains | Runtime Hosts