Method CompareTo CompareTo(Object) Declaration public int CompareTo(object obj) Parameters Type Name Description System.Object obj Returns Type Description System.Int32