本文共 433 字,大约阅读时间需要 1 分钟。
string tys = ""; for (int i = 0; i < typeList.Count; i++) { if (typeList[i] != -1) { tys = typeList[i] + ","; } else { tys = ""; break; } } tys = tys.TrimEnd(','); tys = typeList.Contains(-1)?"":string.Join(",",typeList);
转载地址:http://etkul.baihongyu.com/