Beispiel #1
0
 /// <summary>
 /// GetHashCode
 /// </summary>
 /// <returns></returns>
 public override int GetHashCode()
 {
     unchecked
     {
         var hash = 17;
         hash = hash * 23 + Holiday.GetHashCode();
         hash = hash * 23 + StringComparer.Ordinal.GetHashCode(Description);
         return(hash);
     }
 }
 /// <summary>
 /// GetHashCode
 /// </summary>
 /// <returns></returns>
 public override int GetHashCode()
 {
     unchecked
     {
         var hash = 17;
         hash = hash * 23 + Holiday.GetHashCode();
         hash = hash * 23 + Description.GetHashCode();
         return(hash);
     }
 }