コード例 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Univer != null ? Univer.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Institut != null ? Institut.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Facultet != null ? Facultet.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Kafedra != null ? Kafedra.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Course;
         hashCode = (hashCode * 397) ^ (Group != null ? Group.GetHashCode() : 0);
         return(hashCode);
     }
 }