AmaroK86.ImageFormat.ImageSize.Equals C# (CSharp) Method

Equals() public method

public Equals ( ImageSize p ) : bool
p ImageSize
return bool
        public bool Equals(ImageSize p)
        {
            // If parameter is null return false:
            if ((object)p == null)
            {
                return false;
            }

            // Return true if the fields match:
            return (this.width == p.width) && (this.height == p.height);
        }

Same methods

ImageSize::Equals ( System obj ) : bool