+ 1
ARRAY
Fill in the blanks to retrieve the number of elements in an array called "test". test.
1 Answer
0
int[] test = new int[]
{
1, 2, 3, 4
}
test.Length // returns the number of elements in an array, this will return a value of 4
Fill in the blanks to retrieve the number of elements in an array called "test". test.