2.0中string的一个方法:
string.IsNullOrEmpty(string s)

不用象1.1中那样:
if(s == null || s == string.Empty){}

相关文章: