特牛网址导航

把string[]数组转成string字符串_string数组转成字符串-CSDN博客

网友收藏
文章浏览阅读3.2w次,点赞6次,收藏14次。数组:string[] s = { "a", "b", "c", "d", "e" };①Join转换字符串:string str1 = string.Join(",", s);②格式化字符串:string str2 = String.Format("{0},{1},{2},{3},{4}", s);http://blog.163.com/hanyu_accp/blog/sta_string数组转成字符串