M_WolfCurses_Form_Form_1_Compare_1 - Maxwolf/WolfCurses GitHub Wiki

Form(TData).Compare Method (IForm, IForm)

Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.

Namespace: WolfCurses.Form
Assembly: WolfCurses (in WolfCurses.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public int Compare(
	IForm x,
	IForm y
)

Parameters

 

x
Type: WolfCurses.Form.IForm
The first object to compare.
y
Type: WolfCurses.Form.IForm
The second object to compare.

Return Value

Type: Int32
A signed integer that indicates the relative values of x and y, as shown in the following table.Value Meaning Less than zerox is less than y.Zero x equals y.Greater than zerox is greater than y.

Implements

IComparer(T).Compare(T, T)

Version Information

Wolf Curses

Supported in: 0.1

See Also

Reference

Form(TData) Class
Compare Overload
WolfCurses.Form Namespace

⚠️ **GitHub.com Fallback** ⚠️