System.Drawing.Rectangle.operator C# (CSharp) 메소드

operator() 공개 정적인 메소드

Tests whether two objects have equal location and size.

public static operator ( ) : bool
리턴 bool
        public static bool operator ==(Rectangle left, Rectangle right) =>
            left.X == right.X && left.Y == right.Y && left.Width == right.Width && left.Height == right.Height;