static void Main(string[] args) { var pizzaType = PizzaTypes.Example; var pizza = FileReader.GetPizzaAsync(pizzaType).Result; //PizzaOrder.ProcessOrderV1(pizza); //PizzaOrder.ProcessOrderV2(pizza); var result = PizzaOrder.ProcessOrderV4(pizza); WriteLine(result.Sum(r => r.Value)); //FileWriter.CreateOutputFileForAllTypesAsync().Wait(); }