I have an IEnumerable object. I would like to access based on index for instance:
for(i=0; i<=Model.Products; i++) { ??? }
Is this
var myProducts = Models.Products.ToList(); for(i=0; i< myProducts.Count ; i++) { //myProducts[i]; }