Discussion :: Arrays - C#
-
Which of the following statements are correct about the C#.NET code snippet given below?
int[ , ] intMyArr = {{7, 1, 3}, {2, 9, 6}};
- intMyArr represents rectangular array of 2 rows and 3 columns.
- intMyArr.GetUpperBound(1) will yield 2.
- intMyArr.Length will yield 24.
- intMyArr represents 1-D array of 5 integers.
- intMyArr.GetUpperBound(0) will yield 2.
Answer : Option A
Explanation :
No answer description available for this question.
Be The First To Comment