using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Figury { class Kwadrat: Prostokąt { public Kwadrat(Punkt x, double bok) : base(x,new Punkt(x.x + bok,x.y + bok)) { Nazwa = "Kwadrat"; } } }