Microsoft.ProjectOxford.Common.Rectangle.Equals C# (CSharp) Method

Equals() public method

public Equals ( object o ) : bool
o object
return bool
        public override bool Equals(object o)
        {
            if (o == null) return false;

            var other = o as Rectangle;

            if (other == null) return false;

            return this.Left == other.Left &&
                this.Top == other.Top &&
                this.Width == other.Width &&
                this.Height == other.Height;
        }