public bool Equals(IXLFormattedText <T> other) { Int32 count = Count; if (count != other.Count) { return(false); } for (Int32 i = 0; i < count; i++) { if (_richTexts.ElementAt(i) != other.ElementAt(i)) { return(false); } } return(_phonetics == null || Phonetics.Equals(other.Phonetics)); }