这段程序会输出哪两行?

来自 异常
C# 14 / .NET 10 进阶 2分钟

这段程序会输出哪两行?

csharp
using System;

try
{
    throw new ArgumentOutOfRangeException("quantity");
}
catch (ArgumentException error) when (error.ParamName == "other")
{
    Console.WriteLine("filtered");
}
catch (ArgumentOutOfRangeException)
{
    Console.WriteLine("range");
}
finally
{
    Console.WriteLine("finished");
}
在试验场中打开
报告错误