Item 4: Use Conditional Attributes Instead of #if(Effective C#)
摘要:
The Conditional attribute generates more efficient IL than #if/#endifdoes. It also has the advantage of being applicable only at the functionlevel, which forces you to better structure your conditional code. The compileruses the Conditional attribute to help you avoid the common errorswe have all ma 阅读全文
posted @ 2011-01-09 22:31 Ray Z 阅读(231) 评论(0) 推荐(0) 编辑