CannibalSmith ([info]cannibalsmith) rakstīja [info]koderi kopienā,
@ 2008-10-21 14:23:00

Previous Entry  Add to memories!  Tell a Friend!  Next Entry
C# try bloki
Kāda ir atšķirība starp
try { A(); } catch (Exception) { B(); } finally { C(); }
un
try { A(); } catch (Exception) { B(); } C();
?


(Lasīt komentārus) - (Ierakstīt jaunu komentāru)


(Anonīms)
2008-10-21 16:55 (saite)
ja B(); == return; (atgriež no funkcijas), tad arī C(); neizpildās

(Atbildēt uz šo)


(Lasīt komentārus) -

Neesi iežurnalējies. Iežurnalēties?