//Split :返回的字符串数组包含此字符串中的子字符串(由指定 Unicode 字符数组的元素分隔)。
//参数指定是否返回空数组元素 StringSplitOptions
//Select :Linq
var strtest = "1,2,3".ToString().Split(new char[] { ',' }, StringSplitOptions.None).Select(a => "'" + a.Trim() + "'");
//串联类型为 System.String 的 System.Collections.Generic.IEnumerable<T> 构造集合的成员,
//Join:其中在每个成员之间使用指定的分隔符
string strtests = string.Join(",", strtest).ToString();