public override bool Equals(object o) { bool bEquals = false; if (o is ChatLine) { if (this.Text.Equals(((ChatLine)o).Text) && this.Type.Equals(((ChatLine)o).Type)) bEquals = true; } return bEquals; }