protected bool Equals(Class1 other) { return(TextData == other.TextData && DateTimeData.Equals(other.DateTimeData) && DoubleData.Equals(other.DoubleData) && Equals(Class2, other.Class2) && Equals(Class3, other.Class3)); }