static void Main(string[] args) { Clothes tshirt = new Clothes(); tshirt.SetPrice(DefaultPrice); Book book = new Book(); book.SetAuthor("Moorkock"); Item[] items = new Item[] { tshirt, }; foreach (Item item in items) { item.SetDiscount(DefaultDiscount); } }