Using an index variable, or using Linq Select(), are 2 ways to get the index of the current iteration in a foreach loop.
確定! 回上一頁