#if DEBUG Console.WriteLine("DEBUG:11111111111"); #else Console.WriteLine("Release:222222222222"); #endif
C# 测试代码#if DEBUG使用
原文:https://www.cnblogs.com/mathyk/p/9595476.html