K
Krish
Sorry, just starting, so want to make sure I get all this right:
What is the difference between
int[] values = new int[] { 1,2,3,4,5,6 };
vs
int[] values = { 1,2,3,4,5,6 };
The "new" statement is omitted in the second statement.
I know it is the same, but why use one against the other ..
Regards
What is the difference between
int[] values = new int[] { 1,2,3,4,5,6 };
vs
int[] values = { 1,2,3,4,5,6 };
The "new" statement is omitted in the second statement.
I know it is the same, but why use one against the other ..
Regards