//字符串分割和拼接
macId = string.Join(",", mac.Split(',').Select(s => string.Format("N'{0}'", s)));

 

相关文章: