Felbook.Models.ValidationMethods.IsEmptyString C# (CSharp) Method

IsEmptyString() public method

public IsEmptyString ( string s ) : bool
s string
return bool
        public bool IsEmptyString(string s)
        {
            bool isemptystring = false;
            if (s != null && s.Length > 0)
            {
                isemptystring = false;
            }
            else
            {
                isemptystring = true;
            }
            return isemptystring;
        }