📅  最后修改于: 2022-03-11 14:48:45.561000             🧑  作者: Mango
代码示例3
var data=new List(){"One","Two","Three"};
for(int i=data.Count - 1; i > -1; i--)
{
if(data[i]=="One")
{
data.RemoveAt(i);
}
}