I am looping through an array of strings, such as (1/12/1992 apple truck 12/10/10 orange bicycle). The array\'s length will always be divisible by 3. I need to loop through
i++ is the standard use of a loop, but not the only way. Try incrementing by 3 each time:
i++
for (int i = 0; i < theData.Length - 2; i+=3) { // use theData[i], theData[i+1], theData[i+2] }