Which of the following expression should you use?

You are writing code for a business application by using C#. Write the following statement to declare an array:
int[] numbers = { 1, 2, 3, 4, 5, };
Now, you need to access the second item in this array (the number 2). Which of the following expression should you use?
A. numbers[0]
B. numbers[1]
C. numbers[2]
D. numbers[3]

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.