// Create a program that will define an object called Rectangle.
// The rectangle has 2 attributes, length and width.
// Define the methods of a rectangle, namely: computePerimeter
// and computeArea.
using System;
public class Rectangle
{
private int length;
private int width;
public Rectangle() {} //default constructor
public void setLength(int l)
this.length = l;
}
public int getLength()
return length;
public class HelloWorld
public static void Main(string[] args)
Console.WriteLine ("Hello Mono World");