ComparerCompare(Object, Object) 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
)

Parameters

a  Object
b  Object

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