C#轮子
时间:2018-08-06 16:51:34
收藏:0
阅读:188
/// <summary> /// 判断字符串是否为空,空字符串,空格 /// </summary> /// <param name="input"></param> /// <returns></returns> public static bool IsNullOrEmptyOrWhiteSpace(this string input) { return String.IsNullOrEmpty(input) || input.All(char.IsWhiteSpace); }
原文:https://www.cnblogs.com/Jayesslee/p/9431122.html
评论(0)