// Constructor public Repository() { // For every entry in Food Price Dictionary, // add an entry into TicketCounter dictionary. foreach (var item in Prices) { TicketCounter.Add(item.Key, 0); } }