def
public static bool GetBoolean(string key, bool def) { string b = GetProperty(key); if (b != null) { def = b.ToLower().Equals("true"); } return def; }