📅  最后修改于: 2022-03-11 14:49:21.634000             🧑  作者: 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);
}
}