System.Drawing.Dimension.ToString C# (CSharp) Method

ToString() public method

Returns a string representation of the values of this Dimension object's height and width fields.
This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations. The returned string may be empty but may not be null.
public ToString ( ) : string
return string
        public override string ToString() {
            return this.GetType().Name + "[width=" + width + ",height=" + height + "]";
        }
    }