R
ron
Hi,
Could i clear the a single dimension array and a jagged
array in the following way.
int[] mySingleArr = new int[10];
mySingleArr = System.Array.Clear();
int[][] myJaggedArr = new int[3][];
myJaggedArr = new int[0][3];
myJaggedArr = new int[1][3];
myJaggedArr = new int[2][3];
myJaggedArr = System.Array.Clear();
Is this possiable without iterating through the arrays
and setting the elements to zero?
Thanks Ron
Could i clear the a single dimension array and a jagged
array in the following way.
int[] mySingleArr = new int[10];
mySingleArr = System.Array.Clear();
int[][] myJaggedArr = new int[3][];
myJaggedArr = new int[0][3];
myJaggedArr = new int[1][3];
myJaggedArr = new int[2][3];
myJaggedArr = System.Array.Clear();
Is this possiable without iterating through the arrays
and setting the elements to zero?
Thanks Ron