摘要: 一、数组 必须规定类型,必须规定长度; 1.定义 int[ ] i = new int[5]; int[] j = new int[]{1,2,3,4,5}; 2.数组的遍历: Console.Write(i[0]); //直接输出索引值; for(int a = 0; a < i.Length; 阅读全文
posted @ 2017-11-03 23:41 _Iniesta 阅读(1839) 评论(0) 推荐(1) 编辑