Exemplo n.º 1
0
 /// <summary>
 /// Compares the current <see cref="Length" /> to the supplied object and returns an indication of their relative values.
 /// </summary>
 /// <param name="other">
 /// The <see cref="Length" /> 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(Length other) => (Meters.CompareTo(other.Meters));