static int Main(string[] args) { Bookshelf b1 = new Bookshelf(); Chair c1 = new Chair(); b1.Accept(); b1.Display(); c1.Accept(); c1.Display(); Console.ReadLine(); return 0; }