0

What is exception handling in c#?

help me guyz

9th Nov 2016, 8:25 PM
Ghulam Mustafa
Ghulam Mustafa - avatar
2 Antworten
0
try { // Code to try goes here. } catch (SomeSpecificException ex) { // Code to handle the exception goes here. // Only catch exceptions that you know how to handle. // Never catch base class System.Exception without // rethrowing it at the end of the catch block. } It is covered very clearly in the SoloLearn C# course.
9th Nov 2016, 9:08 PM
Mikal S
Mikal S - avatar
0
thnk u
9th Nov 2016, 9:10 PM
Ghulam Mustafa
Ghulam Mustafa - avatar