Bridge

Int32..::..CompareTo Method (Int32)

Compares this instance to a specified 32-bit signed integer and returns an indication of their relative values.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public int CompareTo(
	int other
)
<TemplateAttribute> _
Public Function CompareTo ( _
	other As Integer _
) As Integer
[TemplateAttribute]
public:
int^ CompareTo(
	int^ other
)

Parameters

other
Type: System..::..Int32

Return Value

A signed number indicating the relative values of this instance and value.Return Value Description Less than zero This instance is less than value. Zero This instance is equal to value. Greater than zero This instance is greater than value.