0
What is exception handling in c#?
help me guyz
2 Answers
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.
0
thnk u