c#数组没有Remove方法,转换为list,再使用Remove方法(例如数组 a,b,c 去除b 只剩a c)
摘要:c#数组没有Remove方法,转换为list再移除,因为list自带Remove方法 string aaa=a,b,c; var array=aaa.Split(',');// 数组 List<String> list = array.ToList();//转换为list for (int i=0;
阅读全文
posted @
2019-08-28 22:31
RookieBoy666
阅读(1270)
推荐(0) 编辑