我不想抓住一些例外.我能以某种方式做到吗?
我可以这样说:
catch (Exception e BUT not CustomExceptionA) { }
?
.net c# exception-handling
.net ×1
c# ×1
exception-handling ×1