class Program ... { static void Main(string[] args) ...{ Rectangle rect = new Rectangle(20, 15); Console.WriteLine("Area is {0}", rect.Area()); Console.ReadLine(); } } interface IShape ... { int Area(); } class Rectangle : IShape ... { private int _width; private int _height; public Rectangle(int width, int height) ...{ this._width = width; this._height = height; } public int Area() ...{ return this._width * this._height; } }