Operator operator ==
operator ==(ColorStruct, ColorStruct)
Tests whether two specified ColorStruct structures are equivalent.
public static bool operator ==(ColorStruct left, ColorStruct right)
Parameters
left
ColorStructThe Color that is to the left of the equality operator.
right
ColorStructThe Color that is to the right of the equality operator.
Returns
- bool
true
if the two ColorStruct structures are equal; otherwise,false
.