Aspects


vs


Compareto

The CompareTo method is found in the .NET Framework and Java and imposes the natural ordering of a class

Icomparable

Defines a generalized comparison method that a value type or class implements to create a type-specific comparison method for ordering instances.