Exemple #1
0
 /// <summary>
 /// Returns true iff the two values represent the same value.
 /// </summary>
 /// <param name="other">The value to compare to.</param>
 /// <returns>True iff the two values represent the same value.</returns>
 public bool Equals(UInt24 other)
 {
     return _mostSignificant == other._mostSignificant &&
            _leastSignificant == other._leastSignificant;
 }
Exemple #2
0
 /// <summary>
 /// Returns true iff the two values represent the same value.
 /// </summary>
 /// <param name="other">The value to compare to.</param>
 /// <returns>True iff the two values represent the same value.</returns>
 public bool Equals(UInt24 other)
 {
     return(_mostSignificant == other._mostSignificant &&
            _leastSignificant == other._leastSignificant);
 }