Is there a #define in C# that allows me to know, at compile time, if I\'m compiling for x86 (Win32) or x64 (Win64)?
Not that I know of. You would have to declare your own in different project configurations.