C#判断数组是否为空时间:2021-06-02 17:16:44string[] array=new[] { "1", "2", "3", "4", "5" }; //包含空字符串或NULL返回True bool any = array.Any(x => string.IsNullOrEmpty(x));