How to get the index of the current iteration in a foreach loop. ... Using an index variable. Create an index variable and initialize it to 0. Then increment its ...
確定! 回上一頁