Aspects


vs


Equals

Refers to Java equals method, indicating whether some object is "equal to" this one.

Icomparable

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

Others

Quality Example
Greater

"No - icomparable is for seeing if one object is greater than equals to or less than another"

from question "Is IComparable the best way to use to enforce unique keys in Dictionary?"

Less

"Icomparable is an interface that defines that two instances of the implementing class can be seen as greater than less than or equals to one another"

from question "IComparable and Equals()"

Back to Home
Data comes from Stack Exchange with CC-BY-SA-3.0