How to easily check if a string is blank or full of an undetermined amount of spaces, or not?
If it's already known to you that the string is not null, and you just want to make sure it's not a blank string use the following:
public static bool IsEmptyOrWhiteSpace(this string value) => value.All(char.IsWhiteSpace);