int[] testArray = new int[6];
//不带固定长度
List<int> noneCountList = new List<int>(testArray);
//带需要转列表的长度(从索引0开始)
List<int> fixedCountList = new List<int>(testArray.Take(testArray.Length));
unity数组转列表
猜你喜欢
转载自blog.csdn.net/weixin_47819574/article/details/129429945
今日推荐
周排行