Initialize arrays with no sizes

By [)ia6l0 iii

You can declare arrays and later initialize them when you don't know their size too

Use the following declaration to intiialize an array with no dimension
e.g.
int[,] myArray;
myArray = new int [2,4];

Initialize arrays with no sizes  (359 Views)