示例#1
0
 /// <summary>
 /// Serves as the default hash function.
 /// </summary>
 /// <returns>
 /// A hash code for the current object.
 /// </returns>
 public override int GetHashCode()
 {
     unchecked
     {
         return(((LeftPaddle != null ? LeftPaddle.GetHashCode() : 0) * 397) ^ (RightPaddle != null ? RightPaddle.GetHashCode() : 0));
     }
 }