DEBUG模式开关时间:2023-03-09 19:13:43 在.NET中,有一个特殊的特性可以用:[Conditional("DEBUG")]MyConstructor(IExtensionManager mgr){...}