📅  最后修改于: 2022-03-11 14:48:54.487000             🧑  作者: Mango
代码示例1
int[] allNums = { 1, 2, 3, 4, 5 };int index = 0;while (index <= 5){ Console.WriteLine($"Last index {allNums[index]}"); index++;}