static void Main(string[] args) { Shape s; s = new Rectangle(); s.draw(); s = new Circle(); s.draw(); }
public static void Main() { Program s; s = new Rectangle(); s.draw(); s = new Circle(); s.draw(); Console.ReadLine(); }