一维数组 语法:数据类型[] 数组名 / 数组名 = new 数据类型[] int[] a / a = new int[5]{1, 2, 3, 4, 5} / a = new int[5] string[] week = { "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" }; for(int i = 0; i < week.Length; i++) { Console.WriteLine(week[i]);