private static bool yesno(string value) { if ("yes".Equals(value, StringComparison.CurrentCultureIgnoreCase)) return true; return false; }