Click or drag to resize

ComparerGreaterThan Method

Determines whether a is greater than b

Checks reference equality first with ReferenceEquals(Object, Object). Then it checks all known types with the > operator, then with reflection on 'op_GreaterThan'

Namespace:  Cauldron
Assembly:  Cauldron (in Cauldron.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static bool GreaterThan(
	Object a,
	Object b
)

Parameters

a
Type: SystemObject
The first object to compare
b
Type: SystemObject
The second object to compare

Return Value

Type: Boolean
true if a is greater than b; otherwise, false.
Exceptions
ExceptionCondition
ArgumentExceptionGreater than operator cannot be applied
See Also