C# 判断DEBUG与RELEASE环境 HsFang 2020-08-07 939 阅读1分钟 使用 #if (DEBUG==true) //your code #endif 可以使被包裹的代码运行在debug环境下 详见微软官方文档