continue to <label> in C# like in java
Posted
by senzacionale
on Stack Overflow
See other posts from Stack Overflow
or by senzacionale
Published on 2010-03-19T20:36:29Z
Indexed on
2010/03/19
20:41 UTC
Read the original article
Hit count: 330
c#
I need C# equivalent to Java’s continue ?
i have
for (String b : bar) {
<label>
try {
}
catch (EndpointNotFoundException ex) {
continue <label>
}
}
how can i simulate this in C#. i need that when i get exception that i repeat code not go on.
© Stack Overflow or respective owner