Method CompareTo CompareTo(object) Compares this element to another object. Declaration public int CompareTo(object o) Parameters Type Name Description object o The object to compare to. Returns Type Description int true if both objects are the same, false otherwise. Implements IComparable.CompareTo(object)