C# 測試代碼#if DEBUG使用

轉載自: http://www.javashuo.com/article/p-tviynood-be.html 代碼示例: #if DEBUG      Console.WriteLine("DEBUG:11111111111"); #else       Console.WriteLine("Release:222222222222"); #endif 在這段代碼中如果運行模式是Debug,則代
相關文章
相關標籤/搜索