i am getting this error can some one give me some directions
Error 1 'ShapesDemo.Rectangle' does not contain a constructor that takes 0 arguments
using System;
namespace ShapesDemo
{
abstract class GeometricFigure
{
static void Main(string[] args)
{ Rectangle rectangle = new Rectangle(8,8);
Square square = new Square(9,7);
DisplayFigureResults(square);
Triangle triangle = new Triangle();
Console.WriteLine("The Area is:", rectangle.ToString()); }
private static void DisplayFigureResults(Square square)
{
throw new NotImplementedException();
}
public int height ;
public int width ;
public readonly double area;
public int heigth
{
get { return height; }
set { height = value; }
}
public int Width
{
get { return width; }
set { width = value; }
}
// public double area
// { get { return area; } }
public abstract double ComputeArea();
private static void DisplayFigureDetails(GeometricFigure shape)
{ }
}
class Rectangle : GeometricFigure
{
private int p;
private int p_2;
public Rectangle(int p, int p_2)
{
this.p = p;
this.p_2 = p_2;
}
public override double ComputeArea()
{
Console.WriteLine("The Area is" + width.ToString(), height.ToString());
return width * height;
}
}
class Square : Rectangle
{
private int p;
private int p_2;
public Square(int p, int p_2)
{
this.p = p;
this.p_2 = p_2;
}
private static void DisplayFigureDetails(GeometricFigure Square) { }
public void equal(int height, int width)
{
if (height.Equals(width))
Console.WriteLine("{0} for {1} has the same measure " +
height, width);
}
}
class Triangle : GeometricFigure
{
private static void DisplayFigureDetails(GeometricFigure Triangle){}
public override double ComputeArea()
{
return width * (height / 2);
}
}
}