string[] str = new string[10];str[0] = "abc";int hasCount= str.Where(delegate(string s){ return !string.IsNullOrEmpty(s);}).Count();
hasCount这个就是