Check out example codes for "c# catch two exceptions in one block". It will help you in understanding the concepts better.
Code Example 1
catch (Exception ex)
{
if (ex is FormatException || ex is OverflowException)
{
WebId = Guid.Empty;
return;
}
throw;
}
Learn ReactJs, React Native from akashmittal.com