Array類別來定義,以下為宣告方式資料型別[] 變數名稱= new 資料型別[陣列數量]; ... C#陣列初始值為0,宣告為數量,所以總元素是0到宣結數量-1 int[] x = new int[] ...
確定! 回上一頁