catching multiple exceptions c# code example
Example: c# catch two exceptions in one block
catch (Exception ex)
{
if (ex is FormatException || ex is OverflowException)
{
WebId = Guid.Empty;
return;
}
throw;
}