Skip to content

Assembly

in .NET:
a binary file that contains CIL byte code, which will be executed by CLR
usually 2 forms:

  • executable (.exe)
  • library: common functions used by other assemblies. (.dll)
  • C sharp
    • compiles source code to CIL during compile time
      CIL can be found in the .exe and .dll binaries. assembly
      each machine gets the same assembly (.exe file).
      but machines and CPUs are different, so on execution the CLR translates the CIL to instructions for the machine it runs on. This execution is called runtime.