摘要:
View Code 1 1、ArrarList 转换为 string[] : 2 3 ArrayList list = new ArrayList(); 4 5 list.Add("aaa"); 6 7 list.Add("bbb"); 8 9 //转换成数组10 11 string[] arrString = (string[])list.ToArray(typeof( string)) ;12 13 2、string[] 转换为 ArrarList :14 15 ArrayList list = new ArrayList(new string[] 阅读全文