using System;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
rectangle r = new rectangle();
rectangle r1 = new rectangle(2, 3);
rectangle r2 = new rectangle(1, 4, 2, 3);
}
}
class rectangle
{
private int x, y, width, height;
public rectangle():this(0,0,0,0)
{
[Link]("Con1: "+x);
[Link](y);
[Link](width);
[Link](height);
}
public rectangle(int width, int height)
: this(0, 0, width, height)
{
[Link]("Con 2: "+x);
[Link](y);
[Link](width);
[Link](height);
}
public rectangle(int x, int y, int width, int height)
{
this.x = x;
this.y = y;
[Link] = width;
[Link] = height;
[Link]("Con 3:"+x);
[Link](y);
[Link](width);
[Link](height);
}
}}