Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.2K+ articles
JavaScript
12.2K+ articles
Misc
8.8K+ articles
C#
1.9K+ articles
Programming Language
593+ articles
CSharp-Exception
3+ articles
CSharp-Exception-Handling
6 posts
Recent Articles
Popular Articles
C# Exceptions
Last Updated: 25 January 2025
An exception in C# is an unwanted or unexpected event that occurs at runtime. It affects the normal flow of the program. Common exceptions include invalid input, divide-by...
read more
Misc
C#
CSharp-Exception
CSharp-Exception-Handling
C# - Nesting of Try and Catch Blocks
Last Updated: 25 January 2025
In C#, the nesting of the try-and-catch block is allowed. The nesting of a try block means one try block can be nested into another try block. The various programmer uses ...
read more
C#
CSharp-Exception-Handling
C# finally Keyword
Last Updated: 31 January 2025
finally keyword in C# is an important component of exception handling. It makes sure that specific cleanup code is always executed, whether an exception is thrown or not. ...
read more
C#
CSharp-Exception-Handling
How to Use Multiple Catch Clauses in C#?
Last Updated: 25 January 2025
In C#, the main purpose of a catch block is to handle exceptions raised in the try block. A catch block is executed only when an exception occurs in the program. We can us...
read more
C#
CSharp-Exception-Handling
Exception Handling in C#
Last Updated: 15 September 2021
An exception is defined as an event that occurs during the execution of a program that is unexpected by the program code. The actions to be performed in case of occurrence...
read more
Programming Language
C#
CSharp-Exception-Handling
C# Program that Demonstrates Exception Handling For Invalid TypeCasting in UnBoxing
Last Updated: 01 November 2021
Exception handling is used to handle the errors in the program. Or we can say that an exception is an event that occurs during the execution of a program that is unexpecte...
read more
C#
Picked
CSharp-Exception-Handling
CSharp-programs
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !