System.Drawing.Size.operator C# (CSharp) Method

operator() public static method

Tests whether two objects are identical.
public static operator ( ) : bool
return bool
        public static bool operator ==(Size sz1, Size sz2) => sz1.Width == sz2.Width && sz1.Height == sz2.Height;

Same methods

Size::operator ( ) : Size
Size::operator ( ) : System.Drawing.Size