An attempt to access an element of an array with an index that is outside the bounds of the array throws a ____.

A. System.IndexOutOfRangeException
B. System.ArrayTypeMismatchException
C. System.IndexOutOfBoundsException
D. System.InvalidIndexException

Answer: A

Computer Science & Information Technology

You might also like to view...

With most programs, compiling or interpreting a program for the first time will result in errors, and the assembling process consists of locating and correcting these errors.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which of the following is NOT a way to add the selected text to the Clipboard?

A. Press [Ctrl][X]. B. Use the mouse to drag the text to the Clipboard. C. Press [Ctrl][C]. D. Click the Copy button.

Computer Science & Information Technology