Edit

Share via


Numerics.Compare(Object, Object) Method

Definition

Compare two numeric values, performing the usual numeric conversions.

public static int Compare (object expected, object actual);
static member Compare : obj * obj -> int

Parameters

expected
Object

The expected value

actual
Object

The actual value

Returns

The relationship of the values to each other

Applies to