摘要: class TestArraysClass{ static void Main() { // Declare a single-dimensional array int[] array1 = new int[5]; // Declare and set array element values int[] array2 = new int[] { 1, 3, 5, 7, 9 }; // Alternative syntax int[] array3 = { 1, 2, 3, 4, 5, 6 }; // Declare a two dimensional array int[,] multi. 阅读全文
posted @ 2012-09-17 10:16 yuloe2012 阅读(113) 评论(0) 推荐(0) 编辑