摘要: 先show一下两段代码,两段代码都能比较好的实现业务逻辑,但是在高并发下,如果传入的参数为空,那么两段代码的性能表现完全不一样。 private static string Get(string filter) { if (string.IsNullOrEmpty(filter)) return " 阅读全文
posted @ 2017-03-29 08:54 凌晨三点半 阅读(1244) 评论(2) 推荐(0) 编辑