When do I use i(index)

So when I watch a tutorial the use i, why and how do you use i in C#?

“i” is simply a variable name, and it is one of the most common ones in C# (possibly in coding in general) because a lot of people use it with for-loops. For instance, if you have an array with 3 objects in it and you want to go through each object 1 by 1 and print out their names, you would do:

for(int i = 0; i < objects.Length; i++)

In this instance, “i” is used to represent the numbers 0 through 2. “objects*”, therefore, is the first, second, and third object, depending on the current loop iteration.*