using System; namespace Dotmyself { /// /// A derived class of Shape, it has four equal sides and four equal angles. /// Author : Hyacinthe MENIET /// class Square : Shape { public double Width; public Square(String name, double width) : base(name) { Width = width; } public override double Area() { return Width * Width; } } }