public static void Main()
Rectangle r = new Rectangle(10.0, 20.0);
double area = r.GetArea();
Console.WriteLine("The area of the rectangle is " + area + ".");
public Rectangle(double l, double w){
return this.length * this.width;
Console.WriteLine("Did you know all squares are rectangles, but not all rectangles are squares? Thanks Geometry!");