List里有没有返回所查找的值的位置的方法,该怎么处理
List里有没有返回所查找的值的位置的方法
RT
------解决方案--------------------
List<string> s = new List<string>();
s.IndexOf
------解决方案--------------------
indexOf
------解决方案--------------------
循环判断~
RT
------解决方案--------------------
List<string> s = new List<string>();
s.IndexOf
------解决方案--------------------
indexOf
------解决方案--------------------
循环判断~