- 博客(1)
- 收藏
- 关注
原创 .NET按条件编译程序
首先就是#if,#else #endif 例如:string str = "WTs test";#if DEBUG str = "debug";#else str = "Release";#endif this.Button1.Text = str;在发行成不同版本的时候,可以显示出不同的信息;其次就是根据条件执行:this.Button2.Text = "ddd";
2006-04-26 15:30:00 2211
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人