Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] [OT] C# question -- try / catch / finally
- Date: Fri, 22 Nov 2013 09:41:54 +0100
- From: Benjamin Tayehanpour <benjamin@example.com>
- Subject: Re: [tlug] [OT] C# question -- try / catch / finally
- References: <528E3A9C.7080606@bonivet.net> <20131121200022.4f168ad5.jep200404@columbus.rr.com>
On 22 November 2013 02:00, <jep200404@example.com> wrote: > finally { > cleanup(); # Will this happen even if break, continue, return, or goto happens? > } Google says yes. There are some things which will make it not happen (security exceptions, loss of power, global thermonuclear war...), but a return should definitely run the finally first before actually returning. Of course, since I don't actually use C# (like, ew), I may be perfectly wrong. The obvious solution is to try it with some mock code.
- Follow-Ups:
- References:
- [tlug] [OT] C# question -- try / catch / finally
- From: Godwin Stewart
- Re: [tlug] [OT] C# question -- try / catch / finally
- From: jep200404
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] [OT] C# question -- try / catch / finally
- Next by Date: [tlug] Mock Code (was Re: [OT] C# question -- try / catch / finally)
- Previous by thread: Re: [tlug] [OT] C# question -- try / catch / finally
- Next by thread: [tlug] Mock Code (was Re: [OT] C# question -- try / catch / finally)
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links