C# Directive to indicate 32-bit or 64-bit build

后端 未结 9 1494
你的背包
你的背包 2020-12-16 04:04

Is there some sort of C# directive to use when using a development machine (32-bit or 64-bit) that says something to the effect of:

if (32-bit Vista)
    // set a         


        
9条回答
  •  暖寄归人
    2020-12-16 05:02

    There is nothing built in that will do this for you. You could always #define your own symbol and use that for conditional compilation if you wish.

提交回复
热议问题