原创  空string比较 收藏

 string strTemp="";

if(strTemp != null && strTemp.Length >0)

 会比

if(strTtemp !="")

效率更高

发表于 @ 2009年03月14日 10:29:00 | 评论( loading... ) | 编辑| 举报| 收藏

旧一篇:反射机制 | 新一篇:xmucmd.cn域名到期了

  • 发表评论
  • 评论内容:
  •  
Copyright © xmucmd
Powered by CSDN Blog