+ 1
what does exceptions mean?
c# catches errors.
6 Answers
+ 1
If you have an error, the program will shutdown/crash/quit.
That's an exception (the error).
So, to handle exceptions you should use try-catch methods!
0
Definition: An exception is an event, which occurs during the execution of a program, that disrupts the normal flow of the program's instructions
For example: Attempting to reference an index of a list that doesn't exist.
0
Exceptions are like Errors that occur during program execution.
0
If exception is a program error so the program will crash then.
0
Exception are nothing but predefined errors.if you know error will occur then it can handled by exception
0
In simple words exception occurs when the application does not understand what to do next. Sometimes it is unable to locate the folder/file you have specified.
Sometimes it was expecting numbers but user provided alphabet which it cannot use in mathematical equations. Sometimes an array will have only 5 elements and users asks for 6th elements. Application goes crazy. It shuts down itself.
You wouldn't want this to happen if you are modifying some very important data and application shut down in between. You won't be able to track what's been done and what's not