Why must a type thrown or caught derive from System.Exception

前端 未结 6 1006
独厮守ぢ
独厮守ぢ 2021-02-12 09:44

So just out of curiosity I wanted to see what was special about the exception class that allowed it to be used with the keyword Throw while a standard class is not.

6条回答
提交回复
热议问题