C# for loop with 2 ints

for (int i = 0 , int k = 0; i < 5; i ++ , k++){
spellRingTextString = gameData.spellList[k].spellName;

  •   		}*
    

Mono is telling me there is something wrong with my for loop.

Drop the second “int”:

for (int i = 0 , k = 0; i < 5; i ++ , k++){
   spellRingTextString *= gameData.spellList[k].spellName;*

}

You could also just use i instead of two vars.

Ex:

for(int i = 0; i < 5; i++) {
    spellRingTextString _= gameData.spellList*.spellName;*_

}