Abort out of nested function in loop
<p>I am fairly new to C#, and have just "dug in".  I got my first simple utility app that is working well, but I have a problem when it throws an error.</p>

<p>Right now I have two functions, one looped.</p>

<pre><code>Main(){Foo(){loop{foo2()
</code></pre>

<p>Most stuff in foo2 is local to foo2, so if there is a failure, it just returns and works on the next item, no big deal.  But when there is an error that affects everything, I want to basically do a return twice or basically throw up messagebox &amp; stop running current foo2() and enclosing foo().</p>

<p>How do I do that so that foo doesn't keep looping, and thus throwing a messagebox for the error on all the remaining runs of foo2()</p>
