Size.op_Equality

Size Equality operator

Tests whether two Size structures are equal.

public static bool operator ==(Size left, Size right)
ParameterTypeDescription
leftSizeThe Size structure on the left side of the equality operator.
rightSizeThe Size structure on the right of the equality operator.

Return Value

true if left and right have equal width and height; otherwise, false.

See Also