public static bool IsNegative(this string text) { switch((text ?? "").ToLower()) { case "false": case "no": case "n": case "0": case "disabled": case "off": case "negative": return true; }; return false; }