string condition = string.Empty;
int[] a = { 12, 13, 14, 15 };
condition = a.Aggregate(condition, (current, i) => current + ("'" + i+"',")).Trim(',');
this.Text = condition;
int[] a = { 12, 13, 14, 15 };
condition = a.Aggregate(condition, (current, i) => current + ("'" + i+"',")).Trim(',');
this.Text = condition;
输出结果为:'12','13','14','15'