How can I stop using the goto
here:
if(true)
{
goto ln1;
}
DialogResult b=DialogResult.Yes;
while(b==DialogResult.Yes){
//Stuff
ln1: Function();
}
Because using a goto from one scope to another is clearly not allowed.(It gives an error). So what can I do instead? I need to get to the SECOND line of code, not first.