コード例 #1
0
 /// <summary>
 /// Returns a hash code for this instance.
 /// </summary>
 /// <returns>A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.</returns>
 public override int GetHashCode()
 {
     unchecked
     {
         return(((_sign != null ? _sign.GetHashCode() : 0) * 397) ^ (_power != null ? _power.GetHashCode() : 0));
     }
 }