IndiaBIX
IndiaBIX
Start typing & press "Enter" or "ESC" to close
  • Home
  • Jobs
  • Results
  • Current Affairs
  • GK
  • Online Test
  • HR Interview
  • BLOG

Which of the following statements are correct about exception handling in C#.NET? 1 If an exception occurs then the program terminates abruptly without getting any chance to recover from the exception. 2 No matter whether an exception occurs or not,

  • Home
  • Computer Science & Engineering
  • C# Programming Questions and Answers
  • Exception Handling - General Questions
  • Discuss - 1092
1. 

Which of the following statements are correct about exception handling in C#.NET?

1 If an exception occurs then the program terminates abruptly without getting any chance to recover from the exception.

2 No matter whether an exception occurs or not, the statements in the finally clause (if present) will get executed.

3 A program can contain multiple finally clauses.

4 A finally clause is written outside the try block.

5 finally clause is used to perform clean up operations like closing the network/database connections.

[A]. 1 only
[B]. 2 only
[C]. 2 and 5 only
[D]. 3 and 4 only
[E]. None of the above

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.
Workspace Report
Leave a Comment

Computer Science & Engineering :: C# Programming Questions and Answers : More Exercises

  • .NET Framework - General Questions
  • Control Instructions - General Questions
  • Functions and Subroutines - General Questions
  • Constructors- General Questions
  • Arrays - General Questions
  • Structures - General Questions
  • Properties - General Questions
  • Exception Handling - General Questions
  • Interfaces - General Questions
  • Delegates - General Questions
  • Generics - General Questions
  • Datatypes - General Questions
  • Operators - General Questions
  • Classes and Objects - General Questions
  • Inheritance - General Questions
  • Strings - General Questions
  • Enumerations - General Questions
  • Namespaces - General Questions
  • Polymorphism - General Questions
  • Collection Classes - General Questions
  • Attributes - General Questions

Questions & Answers

Aptitude Chemical Engineering Civil Engineering Computer Science & Engineering Current Affairs Data Interpretation Electrical & Electronics Engineering Electronics & Communication Engineering General Knowledge Logical Reasoning Mechanical Engineering Non Verbal Reasoning Verbal Ability Verbal Reasoning

Interviews

HR Interview

Jobs

Sarkari Jobs

Results

Rojgar ResultSarkari Result

Admission

Admission 2023

Admit Card

Admit Card 2023

Answer Key

Answer Key 2023
copyright
Privacy Policy
© 2025 IndiaBIX. All Rights Reserved.

Report