// float[] score;
// string[] names;
//初始化數組:動態化初始化, 靜態化初始化
//動態初始化:
// 類型? 數組名=new 類型 【數組長度】
// int[] number = new int[10];//默認值是0
// score = new float[10];//默認值:0.0f
// names = new string[10];//默認值: null(空對象)
// int[] number_3 = new int[3]{ 1, 2, 3};
// int[] number_2 = new int[]{ 1, 2, 3 };
// string[] names_1=new string[]{"china","asd123","123123"};
////靜態初始化//int [] number_1={1,2,3,4,5,6,8};//string[] number_5 = { "鮮聰", "邱澤", "李福森" };?
//通過數組下標訪問數組中的成員
//string name= number_5[0];
//Console.WriteLine (name);/
/下標越界//string name1=number_5[3];
//數組長度//int a=3;//if (a < number_1.Length)?
{//Console.WriteLine (names_1 [a]);}
//數組的遍歷//for(int i=0;i=0;i--){
// Console.WriteLine (intArray [i]);
// }
//求數組中所有元素的和
// int a=0;