Question: Which of the following statements are correct about the exception reported below? Unhandled Exception: System.lndexOutOfRangeException: Index was outside the bounds of the array: at IndiabixConsoleApplication.MyProgram.SetVal(Int32 index, Int32 val) in D:SampleIndiabixConsoleApplicationMyProgram.cs:line 26 at IndiabixConsoleApplication.MyProgram.Main(String[] args) in D:SampleIndiabixConsoleApplicationMyProgram.cs:line 20

Options

A : 1 only

B : 1 and 2 only

C : 3, 4 and 5 only

D : All of the above

Click to view Correct Answer

Previous || Next

Exception Handling - General Questions more questions

Which of the following is NOT a .NET Exception class?

Which of the following statements is correct about an Exception?

In C#.NET if we do not catch the exception thrown....

Which of the following statements are correct about exception handling....

Which of the following statements are correct about exception handling....

Which of the following is the Object Oriented way of....

Which of the following statements is correct about the C#.NET....

Which of the following statements are correct about the exception....

Which of the following statements are correct about exception handling....

Exceptions can be thrown even from a constructor, whereas error....

Attributes - General Questions more Online Exam Quiz

Constructors - General Questions

Datatypes - General Questions

Delegates - General Questions

.NET Framework - General Questions

Enumerations - General Questions

Functions and Subroutines - General Questions

Inheritance - General Questions

Interfaces - General Questions

Namespaces - General Questions