如何判断一个字符串数组是否为空

如题所述

string[] ss =....
if(ss==null)
空指针,
if(String.IsNullOrEmpty(ss[0]))
第0个元素为空
温馨提示:答案为网友推荐,仅供参考
相似回答