op_Equality

Dimensions Equality operator

Checks whether two “Dimensions” values are equal, i.e. they have equal width and height, or both are empty

public static bool operator ==(Dimensions first, Dimensions second)
Parameter Type Description
first Dimensions First instance to check
second Dimensions Second instance to check

Return Value

True if are equal, false if are not equal

See Also