Esempio n. 1
0
 private static void IncludeItemInSoldCounts(SoldItem soldItem, Dictionary <string, int> soldItemCounts)
 {
     if (!soldItemCounts.ContainsKey(soldItem.Name))
     {
         soldItemCounts[soldItem.Name] = 1;
     }
     else
     {
         soldItemCounts[soldItem.Name]++;
     }
 }
 private static void IncludeItemInSoldCounts(SoldItem soldItem, Dictionary<string, int> soldItemCounts)
 {
     if (!soldItemCounts.ContainsKey(soldItem.Name))
     {
         soldItemCounts[soldItem.Name] = 1;
     }
     else
     {
         soldItemCounts[soldItem.Name]++;
     }
 }