+ 1

what does exceptions mean?

c# catches errors.

19th Aug 2016, 6:34 PM
Ryan Lewis
Ryan Lewis - avatar
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!
2nd Nov 2016, 7:27 PM
Octonions
Octonions  - avatar
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.
19th Aug 2016, 10:26 PM
Harry Pearson
Harry Pearson - avatar
0
Exceptions are like Errors that occur during program execution.
21st Aug 2016, 7:16 PM
Erwin Mesias
Erwin Mesias - avatar
0
If exception is a program error so the program will crash then.
23rd Aug 2016, 10:37 PM
Hicham Mine
Hicham Mine - avatar
0
Exception are nothing but predefined errors.if you know error will occur then it can handled by exception
28th Aug 2016, 1:26 PM
Harish Elumalai
Harish Elumalai - avatar
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
12th Feb 2017, 4:46 PM
Mehaboobmunna Annigeri
Mehaboobmunna Annigeri - avatar