BinarySize.CompareTo(BinarySize) Method

Compares this instance to a specified BinarySize instance and returns an indication of their relative values.

Definition

Namespace: Ookii
Assembly: Ookii.BinarySize (in Ookii.BinarySize.dll) Version: 1.2.0+20f0bdf981c7baf115c68ccab612b1a031efcb4d
C#
public int CompareTo(
	BinarySize other
)

Parameters

other  BinarySize
A BinarySize to compare.

Return Value

Int32
A value that indicates the relative order of the objects being compared. The return value has these meanings:
Value Meaning
Less than zero This instance precedes other in the sort order.
Zero This instance occurs in the same position in the sort order as other.
Greater than zero This instance follows other in the sort order.

Implements

IComparable<T>.CompareTo(T)

See Also