Multiple Choice
When a C# program executes,the runtime checks array element indices for validity-all indices must be greater than or equal to 0 and less than the length of the array.Any attempt to access an element outside that range of indices results in a runtime error known as a(n) ________.
A) IndexRangeError
B) SubscriptException
C) IndexOutOfRangeException
D) SubscriptRangeError
Correct Answer:

Verified
Correct Answer:
Verified
Q20: Consider the code segment below.Which of the
Q21: Passing a reference with keyword ref gives
Q22: What do the following statements do<br>Double[] array;<br>Array
Q24: [C#6] Which of the following statements is
Q26: Which method call does the method header
Q27: What is the proper foreach header format<br>A)(foreach
Q28: Which of the following statements is false<br>A)
Q29: Each reference in an array of references
Q30: Which expression adds 1 to the element
Q41: Which of the following initializer lists would