C#中检查字符串是否为空

String.Empty等价于""

IsNullOrEmpty在字符串为null或""为真

posted @ 2010-05-28 20:21  pk3000lc  阅读(219)  评论(0)    收藏  举报