标签:
List转字符串,用逗号隔开 List<string> list = new List<string>(); list.Add("a"); list.Add("b"); list.Add("c"); string s = string.Join(",", list.ToArray()); ModuleCodes = request.moduleCodes.IndexOf(‘,‘) > 0 ? request.moduleCodes.Split(‘,‘).Distinct().ToList() : new List<string> { request.moduleCodes }
标签:
原文地址:http://www.cnblogs.com/shy1766IT/p/5184916.html