2021-07-30 C#でReDim Preserveの代わり //要素数5の配列 int[] intArray = { 0, 1, 2, 3, 4 }; //要素数を10に増やす Array.Resize(ref intArray, 10); ネタ元 dobon.net