public override bool Equals(object obj) { if (obj is Locale) { return (obj as Locale).m_str == m_str; } return false; }