public override bool Equals(System.Object obj) { XmlSound s = obj as XmlSound; if ((object)s == null) { return false; } return this.Equals(s); }