Пример #1
0
 /// <summary>
 /// Dėl pakeisto Equals metodo, pakeičiamas GetHashCode metodas
 /// </summary>
 /// <returns></returns>
 public override int GetHashCode()
 {
     return(Name.GetHashCode() ^ Genre.GetHashCode() ^ Studio.GetHashCode() ^ Actor1.GetHashCode() ^ Actor2.GetHashCode() ^ StartDate.GetHashCode() ^ Episodes.GetHashCode() ^ EndDate.GetHashCode() ^ Airing.GetHashCode());
 }