Пример #1
0
 /// <summary>
 /// GetHashCode
 /// </summary>
 /// <returns></returns>
 public override int GetHashCode()
 {
     unchecked
     {
         var hash = 17;
         hash = hash * 23 + ProvinceName.GetHashCode();
         return(hash);
     }
 }
Пример #2
0
 /// <summary>
 /// GetHashCode
 /// </summary>
 /// <returns></returns>
 public override int GetHashCode()
 {
     unchecked
     {
         var hash = 17;
         hash = hash * 23 + CityName.GetHashCode();
         hash = hash * 23 + DistrictName.GetHashCode();
         hash = hash * 23 + CountyName.GetHashCode();
         hash = hash * 23 + ProvinceName.GetHashCode();
         hash = hash * 23 + CityDivisionCode.GetHashCode();
         return(hash);
     }
 }