예제 #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;
 }
예제 #2
0
파일: UInt24.cs 프로젝트: zwxu999/Pcap.Net
 /// <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);
 }