After reading some stuffs about the managed and unmanaged code,i realized that in managed compiler generates IL, which any machine can understand. All we need to do is just deploy the assembly in any other machine and CLR helps to run it right.
But, also i read that VC++ does not support CLR and its unmanaged code. But we can run VC++ binary in any machine without any modification. It need not be having same configuration as the machine which we build exe.
Please clarify what exactly unmanaged and managed code is?, if Unmanaged code should not run in any other machine having little different config like different mother board, chipset etc… How VC++ binary runs over there?
You cannot run VC++ binary on any machine without any modification. You can only run it on a Windows machine, and even that – not any. Current VC++ 64 bit executables will not run under older Win 95, for example.
Managed code is code converted to the IL, that is interpreted by the CLR at run time. Non-managed code is code converted to native machine code, which is run directly by the CPU.