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

operator() public static method

public static operator ( ) : bool
return bool
        public static bool operator ==(Size size1, Size size2)
        {
            return ((size1.Width == size2.Width) && (size1.Height == size2.Height));
        }