I have something like this:
void MethodToBreak()
{
if(something)
{
MethodThatBreaks();
return;
}
}
void MethodThatBreaks()
{
}
So, I was wondering: is it possible to break the execution from MethodThatBreaks():? Then I would have:, if(something) MethodThatBreaks();and if the condition inside is iftrue, nothing after this line will be satisfied.
NOTE. I know that this is possible with elsein this case, but I do not want this.
source
share