/// <summary> /// Returns the hash code for this instance. /// </summary> /// <returns> /// A 32-bit signed integer hash code. /// </returns> public override Int32 GetHashCode() => SquareMeters.GetHashCode();
/// <summary> /// Converts the current <see cref="Area" /> to an array of bytes. /// </summary> /// <returns> /// An array of bytes representing the current <see cref="Area" />. /// </returns> public Byte[] ToByteArray() => SquareMeters.ToByteArray();
/// <summary> /// Compares the current <see cref="Area" /> to the supplied object and returns an indication of their relative values. /// </summary> /// <param name="other"> /// The <see cref="Area" /> to compare to this instance. /// </param> /// <returns> /// Negative one if this instance is less than the supplied instance; one if this instance is greater than the supplied /// instance; zero if they are equal. /// </returns> public Int32 CompareTo(Area other) => SquareMeters.CompareTo(other.SquareMeters);