C#中 删除掉字符串数组中的空字符串 //使用lambda表达式过滤掉空字符串strArray = strArray.Where(s=>!string.IsNullOrEmpty(s)).ToArray();