阅读背景:

Debug.Assert / Debug.Fail是否自动有条件地编译#if“DEBUG”

来源:互联网 

Are Debug.Assert/Debug.Fail automatically conditionally compiled #if "DEBUG"? Or is it more like if there is no debugger attached (even in release) it just doesn't do much of anything? If so, are there performance implications of leaving them in your code? Or are they really not meant to be in production code, only test or Conditional code?Are Debug.Assert/Debug.Fail automatically condi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: