internal bool IsEditionOf(Book otherBook) { return(Title.Equals(otherBook.Title) && (SubTitle?.Equals(otherBook.SubTitle) ?? otherBook.SubTitle == null) && Authores.SequenceEqual(otherBook.Authores) && Publisher.Equals(otherBook.Publisher)); }
public override string ToString() { return($"{Title} {SubTitle ?? string.Empty} {Authores.First()} {Publisher} {Edition} {Year} {Type}"); }