Previous Topic: ArgumentsNext Topic: Default Behavior


Return Code

A negative, zero or a positive integer as this object is less than, equal to, or greater than the specified object.

Also this method may throw the InvalidCastException if the object does not implement a 'int CompareTo(Object)' interface like the Comparable interface.