一維陣列宣告: string[] arr = new string [5]; //直接指定陣列的大小。 string[] arr = new string[] {"A","B","C"}; //不指定陣列的大小,然後再後面放入值。
確定! 回上一頁