如何判断一个List集合中是否有空值

list.Any(v => string.IsNullOrWhiteSpace(v))

猜你喜欢

转载自www.cnblogs.com/xiaonangua/p/10818082.html