public override int GetHashCode() { var hash = 13; var hashFactor = 7; hash = Id.GetHashCode(hash, hashFactor); hash = Artist.GetHashCode(hash, hashFactor); hash = Genre.GetHashCode(hash, hashFactor); hash = hash * hashFactor + Year.GetHashCode(); hash = hash * hashFactor + Rating.GetHashCode(); hash = hash * hashFactor + Starred.GetHashCode(); hash = hash * hashFactor + AlbumArtSize.GetHashCode(); hash = CoverArt.GetHashCode(hash, hashFactor); hash = hash * hashFactor + Child.GetHashCode(); return(hash); }