public static bool IsNullOrEmpty(
this string str)
{
if (str == string.Empty || str == null)
return true;
else return false;
}
public static bool IsNotNullAndEmpty( this string str)
{
if (str != string.Empty && str != null)
return true;
else return false;
}
{
if (str == string.Empty || str == null)
return true;
else return false;
}
public static bool IsNotNullAndEmpty( this string str)
{
if (str != string.Empty && str != null)
return true;
else return false;
}