How to get data from this loop . I want to only one value Prices.Data.ForEach(x => Products.Add(new ProductModel() { Interval = x.Recurring.Interval })); Interval = planresponse.Items.ToString();