It seems these two declarations are the same:
int[] array1 = {11, 22, 33};
and
int[] array2 = new int[] {11, 22, 33};
But what is the need of this part new int[] in the second sample?
Does it make difference?
It seems these two declarations are the same:
int[] array1 = {11, 22, 33};
and
int[] array2 = new int[] {11, 22, 33};
But what is the need of this part new int[] in the second sample?
Does it make difference?