コード例 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((ConcertId.GetHashCode() * 397) ^ Reason.GetHashCode());
     }
 }
コード例 #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = TicketSaleId.GetHashCode();
         hashCode = (hashCode * 397) ^ ConcertId.GetHashCode();
         hashCode = (hashCode * 397) ^ Date.GetHashCode();
         return(hashCode);
     }
 }
コード例 #3
0
 public override int GetHashCode()
 {
     return(ConcertId.GetHashCode());
 }