Method Equals
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
- bool
true
if the specified object is equal to the current object; otherwise,false
.
Equals(Color?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Color? other)
Parameters
other
ColorAn object to compare with this object.
Returns
- bool
true
if the current object is equal to other; otherwise,false
.