40 likes | 180 Views
…. static void X() { throw new Exception ( "throw from X " ); } static void A() { X(); } static void B() { X(); } static void C() { X(); } static void Show( Action a) { try { Console .WriteLine( "**** " + a.Method.Name + " ****" ); a(); } catch ( Exception ex) {. 15 行目.
E N D
… staticvoid X(){thrownewException("throw from X ");}staticvoid A() { X(); }staticvoid B() { X(); }staticvoid C() { X(); }staticvoid Show(Action a){try {Console.WriteLine("**** " + a.Method.Name + " ****"); a(); }catch (Exception ex) • { 15行目 18行目 27行目 …