该文被密码保护。 阅读全文
posted @ 2019-04-07 22:18 Mouer404 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 一、空值判断效率 string s = ""; 1. if(s == ""){} 2. if(s == string.Empty){} 3. if (string.IsNullOrEmpty(s)) {} 4. if(s != null && s.Length ==0) {} 5. if((s+"" 阅读全文
posted @ 2019-04-07 00:39 Mouer404 阅读(9635) 评论(0) 推荐(0) 编辑