ArrayList => n[x] n[x]=>ArrayList 集合转数组 数组转集合
ArrayList => n[x] n[x]=>ArrayList 集合转数组 数组转集合
?
int[] a = { 1, 2, 3, 4, 5 };
ArrayList list = new ArrayList(a);
int[] b = list.ToArray(typeof(System.Int32)) as int[];
发布时间: 2012-12-18 12:43:41 作者: rapoo
ArrayList => n[x] n[x]=>ArrayList 集合转数组 数组转集合
ArrayList => n[x] n[x]=>ArrayList 集合转数组 数组转集合
?
int[] a = { 1, 2, 3, 4, 5 };
ArrayList list = new ArrayList(a);
int[] b = list.ToArray(typeof(System.Int32)) as int[];