Home » C# Programming » Arrays

If a is an array of 5 integers then which of the following is the correct way to increase its size to 10 elements?

Correct Answer: int[] a = new int[5]; a = new int[10];

← Previous Question Next Question→

More Questions from Arrays

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion