ComparerCompare(Object, Object, Boolean) Method

compare two objects, while gracefully handle null in either one of them

Definition

Namespace: Firefly.Box.Advanced
Assembly: Firefly.Box (in Firefly.Box.dll) Version: debug-master-v:33791
C#
public static int Compare(
	Object a,
	Object b,
	bool throwExceptions
)

Parameters

a  Object
b  Object
throwExceptions  Boolean
 

Return Value

Int32
1 if a is greater than b, -1 if a is less then b and 0 if they are equal

See Also