Numerics.Compare(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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