Method CompareTo
CompareTo(ElectionId)
Compares the current object with another object of the same type.
public int CompareTo(ElectionId other)
Parameters
other
ElectionIdAn object to compare with this object.
Returns
- int
A value that indicates the relative order of the objects being compared. The return value has the following meanings: Value Meaning Less than zero This object is less than the
other
parameter.Zero This object is equal toother
. Greater than zero This object is greater thanother
.