how to set array size in c# code example Example: add size to array C# Array.Resize(ref arrayName, arrayName.Length + 4);