I want to inizialize a new int array.
What are the advantages of:
var myNewArray = new int[]{};
And:
var myNewArray = new int[0];
Which one should I prefer over the other, or is it just a matter of code-style?
I want to inizialize a new int array.
What are the advantages of:
var myNewArray = new int[]{};
And:
var myNewArray = new int[0];
Which one should I prefer over the other, or is it just a matter of code-style?