62,271
社区成员
发帖
与我相关
我的任务
分享
string[] s = { "a", "b", "c", "d", "f", "g", "h", "i", "j", "k" };
string str = null;
List<string> result = s.ToList();
result.RemoveRange(0, 5);//从System.Collections.List<T>中移除一定范围内的元素
for (int i = 0; i < result.Count; i++)
{
str += result[i] + "--";
}
Response.Write(str);
数组能删项?