CompareUtils.Compare Method
Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CompareUtils.Compare Method

Compares two objects.

[Visual Basic]
Public Shared Sub Compare( _
   ByVal first As Object, _
   ByVal second As Object _
public static int Compare(
   object first,
   object second


First object.
Second object.

Return Value

0, if objects are equal; less than zero, if the first object is smaller than the second one; greater than zero, if the first object is greater than the second one.

See Also

CompareUtils Class | Spring.Util Namespace