You can compile the code
- AnyCPU - runs in 32-bit version of 32-bit version and 64-bit in 64-bit mode
- x86 - force 32 bit
- x64 - force execution on 64-bit (will not work on 32-bit OS)
- (IA64 - Itanumim)
If you compile for AnyCPU, you are in good shape, and most often you will use the goal of the AnyCPU platform. (Build -> Configuration Manager in Visual Studio)
When compiling .Net code, it is compiled into intermediate language code (MSIL), which, in turn, is compiled into native code at runtime using the .Net framework / runtime environment.
source share