int i = 1; int y = 0; try { i = i/y; throw new ArgumentException(); } catch(Exception ee){ Console.WriteLine(ee.ToString()); Console.WriteLine("error"); } finally { delete(i) //清除try中的内存 }
int i = 1; int y = 0; try { i = i/y; throw new ArgumentException(); } catch(Exception ee){ Console.WriteLine(ee.ToString()); Console.WriteLine("error"); } finally { delete(i) //清除try中的内存 }