try catch multi exception C# code example
Example: catch multiple exception c#
catch (Exception ex)
{
if (ex is FormatException || ex is OverflowException)
{
WebId = Guid.Empty;
return;
}
throw;
}