Example #1
0
        static void Main(string[] args)
        {
            Triangel trangle = new Triangel();

            trangle.getShape();
            trangle.printShape();

            Rectangel rectangl = new Rectangel();

            rectangl.getShape();
            rectangl.printShape();

            Console.ReadLine();
        }
Example #2
0
 public Rectangel(Rectangel r) : base(r.NameShape, r.ColorShape)
 {
     RectangelKind = r.RectangelKind;
     With          = r.With;
 }