public static bool IsInch(string value) { if (value != null) return value.ToLower().EndsWith("in"); return false; }