string[] array=new[] { "1", "2", "3", "4", "5" };

//包含空字符串或NULL返回True

bool any = array.Any(x => string.IsNullOrEmpty(x));

 

相关文章:

  • 2021-10-03
  • 2021-10-05
  • 2021-06-01
  • 2022-12-23
  • 2022-12-23
  • 2021-12-07
猜你喜欢
  • 2022-03-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案