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