csharp increase length of array

Code Example - csharp increase length of array

                
                        int[] myArray = { 1, 2, 3 };
Array.Resize(ref myArray, 5);