C# 語言的例外狀況(Exception) 處理功能可協助您處理任何在程式執行時所發生的 未預期或例外情況。 例外狀況處理(Exception Handling) 會使用try、catch 和finally ...
msdn.microsoft.com