public bool Equals(Period other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(StartYear.Equals(other.StartYear) && EndYear.Equals(other.EndYear)); }
public bool Equals(Period other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(StartYear.Equals(other.StartYear) && EndYear.Equals(other.EndYear)); }