Bridge

Char..::..CompareTo Method (Char)

Compares this instance to a specified Char object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified Char object.

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

Syntax


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

Parameters

other
Type: System..::..Char

Return Value

A signed number indicating the position of this instance in the sort order in relation to the value parameter.Return Value Description Less than zero This instance precedes value. Zero This instance has the same position in the sort order as value. Greater than zero This instance follows value.