摘要: 最好使用List<string>,可以不断添加元素,最后再ToArray() var list = new List<string>(); list.Add("item 1"); list.Add("item 2"); string[] result = list.ToArray(); 阅读全文
posted @ 2017-08-21 08:42 Destiny130 阅读(74) 评论(0) 推荐(0)