Microsoft Interview Question

How would you iterate through a list