Exemple #1
0
        public override bool Equals(object obj)
        {
            if (obj == null || GetType() != obj.GetType())
            {
                return(false);
            }

            Album other = (Album)obj;

            return(Composer.Equals(other.Composer) &&
                   Artists.Equals(other.Artists) &&
                   Title.Equals(other.Title) &&
                   Genre.Equals(other.Genre));
        }