Ngen.exe is a tools which use to Compile the msil code and generate native code.The code which has compiled by ngen.exe get store on separate file which is known as image generation file. And the code which has compiled by ngen.exe could reused