Co bude výstupem?
try { try { throw new Exception("A"); } catch { throw new Exception("B"); } finally { throw new Exception("C"); } } catch (Exception ex) { Console.Write(ex.Message); }
Výsledek: https://dotnetfiddle.net/6SWPqL
Co bude výstupem?
try { try { throw new Exception("A"); } catch { throw new Exception("B"); } finally { throw new Exception("C"); } } catch (Exception ex) { Console.Write(ex.Message); }
Výsledek: https://dotnetfiddle.net/6SWPqL