using System;
public class Program
{
public static void Main()
}
class Rectangle{
//instance variables/data fields/properties
private double length;
private double width;
//constructor
public Rectangle(double l, double w){
length = l;
width = w;
//return type method
public double GetArea(){
return length * width;
//void method
public void FunFact(){
Console.WriteLine("Did you know all squares are rectangles, but not all rectangles are squares? Thanks Geometry!");