public int CompareToDate(Transactions count) { return(this.rentDate.CompareTo(count.GetRentDate())); }