Color.Equals

Equals(Color)

Tests whether the specified color is equivalent to this color.

public bool Equals(Color other)
ParameterTypeDescription
otherColorThe color to test.

Return Value

true if the specified color is equivalent to this color; otherwise, false.

See Also


Equals(object)

Tests whether the specified object is equivalent to this color.

public override bool Equals(object obj)
ParameterTypeDescription
objObjectThe object to test.

Return Value

true if the specified object is equivalent to this color; otherwise, false.

See Also