I have recently started working in C# and have come from a coding background in python. In python there is a way to loop through an array and set variable i to the number in the range
for i in range(numbers)
This would loop through the array setting i to the index in the array/list. Is there an equivalent in c# or do you have to use a counter to increment each time?