What's the difference of the two ways of array initialization? Are the same in all aspects?
using the new
operator:
string[] arr = new array[3] {"a","b","c"};
and do not use the new
operator:
string[] arr = {"a","b","c"};
What's the difference of the two ways of array initialization? Are the same in all aspects?
using the new
operator:
string[] arr = new array[3] {"a","b","c"};
and do not use the new
operator:
string[] arr = {"a","b","c"};