Entries from 2020-06-09 to 1 day
throw exだけど、throwに出来るの知ってる 前職の同僚に言われたことです。 private static void test() { try { child1(); } catch(Exception ex) { Console.WriteLine("例外発生:test"); throw; } } 例外を捕捉して、throwするとき、throw; とだけ書いても…
throw exだけど、throwに出来るの知ってる 前職の同僚に言われたことです。 private static void test() { try { child1(); } catch(Exception ex) { Console.WriteLine("例外発生:test"); throw; } } 例外を捕捉して、throwするとき、throw; とだけ書いても…