【发布时间】:2014-11-29 02:32:24
【问题描述】:
使用List<String>,您可以简单地编辑项目:
var index = List.FindIndex(s => s.Number == box.Text);
List[index] = new String;
但是,例如,如何将其应用于List<Tuple<string, string>>?
【问题讨论】:
-
@MattBurland 对于
s没有扩展名Number和List<Tuple>.. 但显然使用AD.Net的解决方案我必须使用s.item1