foreach (FoodData item in FoodDataCollection) { }
foreach (FoodData item in FoodDataCollection) { calories = Convert.ToInt16(item.Calories); calorieTotal = calories + calorieTotal; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)