-2
I have a if
and I need it to be true
he gives the message below and soon after he pauses in the system or continues on another instruction. I left the word BREAK
to illustrate where I need this encoding (but the BREAK
doesn’t work):
if (lanceSelecionado.ID_LANCE == null)
{
await DisplayAlert("Comunicado", "Selecione um lance para exclusão!", "Ok");
BREAK;
}
If you give a
return;
it goes out of function, it does not solve?– Roberto de Campos
the
goto
wouldn’t you? https://docs.microsoft.com/pt-br/dotnet/csharp/language-reference/keywords/goto– Marceloawq
goto no! Hahhaha
– Netinho Santos
Geez, the
return
did exactly what I expected. @Roberto, if you want to put as answer I define it as the best, I think it’s fair.– Deivid Souza
I posted the reply @Deividsouza, glad you solved your problem.
– Roberto de Campos