static void Main(string[] args) { Printer dev = new Canon("Canon"); Document house2 = dev.Print(); dev = new HP("HP"); Document house = dev.Print(); Console.ReadLine(); }