int IComparable.CompareTo(object obj) { Distance other = obj as Distance; if (other == null) { throw new NotImplementedException(); } return(Feet.CompareTo(other.Feet)); }