public static void Main(string[] args) { IShape s = new Elipse(); s.XCoord = 10; s.YCoord = 20; s.Width = 50; s.Height = 100; Console.WriteLine(s); Console.WriteLine(); }
public Elipse(Elipse elipse) : base(elipse.XCoord, elipse.YCoord, elipse.Width, elipse.Height) { }