Beispiel #1
0
 public override int GetHashCode() => HotelId?.GetHashCode() ?? 0;
Beispiel #2
0
 public override int GetHashCode() =>
 HotelId.GetHashCode() ^ HotelName.GetHashCode();