C# (Sharp) Programming Language Question:
Download Job Interview Questions and Answers PDF
Which of these statements correctly declares a two-dimensional array in C#?
Answer:
1. int[,] myArray;
2. int[][] myArray;
3. int[2] myArray;
4. System.Array[2] myArray;
2. int[][] myArray;
3. int[2] myArray;
4. System.Array[2] myArray;
Download C# (Sharp) Programming Language Interview Questions And Answers
PDF
Previous Question | Next Question |
Which of these string definitions will prevent escaping on backslashes in C#? | If a method is marked as protected internal who can access it? |