C#数组、集合
摘要:数组是一种可以存放同一类型数据集合的数据结构,属于引用类型。 初始化: 声明一个大小为5的Int型的集合 int [] numbers=new int[5]; int [] numbers =new int[5]{1,2,3,4,5}; 或者 int [] numbers ={1,2,3,4,5}
阅读全文
posted @ 2022-01-11 15:46
posted @ 2022-01-11 15:46
posted @ 2022-01-11 14:16
posted @ 2022-01-10 12:46