Compare

Compare<T>(T, T, ComparisonOp)

public static bool Compare<T>(T a, T b, ComparisonOp comparisonOp) ;

Description

Compare values

Type Parameters

Type Parameter Name Description Type Constraints
T Type of value to compare

Parameters

Parameter Name Description
a Value on left side to compare
b Right-hand value to compare
comparisonOp Comparison operator

Returns

Comparison result