🌈 搜索
📅  最后修改于: 2022-03-11 14:49:15.589000             🧑  作者: Mango
int iteration=0; foreach (var item in items) { iteration++; if (iteration < items.Count) { //do stuff } }