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){
Console.WriteLine("Did you know that all squares are rectangles but not all rectangles are squares.");