How to access index in IEnumerable object in C#?

Viewed 83642

I have an IEnumerable object. I would like to access based on index for instance:

for(i=0; i<=Model.Products; i++)
{
      ???
}

Is this possible?

5 Answers
Related