## Size Equality operator

Tests whether two Size structures are equal.

```csharp
public static bool operator ==(Size sz1, Size sz2)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sz1 | Size | The Size structure on the left side of the equality operator. |
| sz2 | Size | The Size structure on the right of the equality operator. |

### Return Value

true if *sz1* and *sz2* have equal width and height; otherwise, false.

### See Also

* struct [Size](../)
* namespace [System.Drawing](../../size/)
* assembly [Aspose.Drawing](../../../)


