public override bool Equals(object obj) { if (ReferenceEquals(this, obj)) { return(true); } if (obj == null || this.GetType() != obj.GetType()) { return(false); } BillingPeriod Other = (BillingPeriod)obj; return(this.Start == Other.Start && this.End == Other.End); }