public int GetIntValue(string key, int defaultValue = 0) { string stringValue = GetStringValue(key, "" + defaultValue); return Convert.ToInt32(stringValue); }