CIL

  • Stands for Common Intermediate Language.
  • Sits above .NET language.
  • Compilation of a typical C# class results into a .exe assembly file containing:
    • Manifest.
    • CIL instructions
    • Metadata describing the type.
  • .NET aware languages do emit CIL code and not platform specific instructions.

Benefits of CIL

1. Language Integration.

This is possible since the CIL instructions that are generated are almost identical.
Thus the languages can interact within a low-level arena.

2. Platform-Agnostic.

CIL contains platform agnostic code hence this makes .NET Framework itself platform agnostic.

Share



Share an Example

Share an Example

Browse
What is the capital of Egypt? ( Cairo )