//Please find out all mistakes in the following code using System; class Rectangle { private double width, height; public Rectangle(double w, double h) { if(w >= 0.0) //Check if w is valid. width = w; else width = 0.0; if(h >= 0.0) //Check if w is valid. height = h; else height = 0.0; } //Access the width of the rectangle public double Width { get { return width; } set { if(value >= 0.0) width = value; } } //Access the height of the rectangle public double Height() { return height; } public void setHeight(double h) { if(h >= 0.0) height = h; } //Compute the area of the rectangle public double Area() { return width*height; } //Compute the perimeter of the rectangle public double Perimeter() { return 2*(width+height); } } class ShapeTester { static void Main(string[] args) { Rectangle rect1; rect1 = new Rectangle(3.0, 0.8); double size_w, size_h; size_w = rect1.Width; //Use the property to access width size_h = rect1.Height(); //Use the method to access height rect1.Width = size_h; Console.WriteLine("The rectangle's area is {0}",rect1.Area()); } }