.net try catch 異常捕獲的正確使用姿式。。

很慚愧,寫了好多年的代碼, 最基本的try catch 纔剛剛會正確的使用, 之前只能說叫會用, 可是用法不正確。 先說說,異常的3種使用方式。 見下面的代碼。web public static int Method1() { try { int a=int.Prease("aaaa");
相關文章
相關標籤/搜索