Example #1
0
    private static Item UpdateItems(String name, int sellIn, int quality)
    {
        Item[]     items      = new Item[] { new Item(name, sellIn, quality) };
        GildedRose gildedRose = new GildedRose(items);

        gildedRose.UpdateItems();
        return(gildedRose.items[0]);
    }