AGENT.Contrib.Drawing.Rectangle.Equals C# (CSharp) Method

Equals() public method

Tests whether obj is a System.Drawing.Rectangle structure with the same location and size of this System.Drawing.Rectangle structure.
public Equals ( object obj ) : bool
obj object The System.Object to test
return bool
        public override bool Equals(object obj)
        {
            if (ReferenceEquals(null, obj)) return false;
            return obj is Rectangle && Equals((Rectangle)obj);
        }

Same methods

Rectangle::Equals ( Rectangle other ) : bool