[求助]关于异常的问题
using System;
namespace ConsoleApplication9 { /// <summary> /// Class1 的摘要说明。 /// </summary> class Class1 { static void F() { try { G(); } catch(Exception e) { Console.WriteLine("Exception in F:"+e.Message); e = new Exception("F"); throw; //将上面2句改为 throw new Exception("F");结果为什么会改变? } } static void G() { throw new Exception("G"); } static void Main(string[] args) { try { F(); } catch(Exception e) { Console.WriteLine("Exception in Main:"+e.Message); } } } }