Managed Execution Process

The managed execution process includes the following steps:

  1. Choosing a compiler.

    To obtain the benefits provided by the common language runtime, you must use one or more language compilers that target the runtime.

  2. Compiling your code to Microsoft intermediate language (MSIL).

    Compiling translates your source code into MSIL and generates the required metadata.

  3. 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.

  4. Running code.

    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


Choosing a Compiler

Compiling to MSIL

Compiling MSIL to Native Code

Running Code

Runtime Hosts

Other Resources

Overview of the .NET Framework

Assemblies in the Common Language Runtime

Application Domains