Salve sono Italiano, sto leggendo un libro tecnico in inglese di C# e c'è una frase che non riesco a capire:
"This means that if a CASE clause is fired early on in the block, later clauses cannot be fired unless you use a GOTO statement to mark that you want them fired,too. The compiler enforces this restriction by flagging every CASE clause that is not equipped with a BREAK statement as an error."
Io capisco "Questo significa che se una clausula CASE e licenziata presto in questo blocco, piu tardi le clausule non possono essere coperte a meno che tu usa un GOTO per marcare che tu vuoi anche loro licenziate.
Il compilatore forza questa restrizione (mettendo una bandierina) segnalando ogni clausula CASE che non ha un BREAK come un errore"
----
Vi ringrazio per il vostro aiuto anticipatamente
Matteo
"This means that if a CASE clause is fired early on in the block, later clauses cannot be fired unless you use a GOTO statement to mark that you want them fired,too. The compiler enforces this restriction by flagging every CASE clause that is not equipped with a BREAK statement as an error."
Io capisco "Questo significa che se una clausula CASE e licenziata presto in questo blocco, piu tardi le clausule non possono essere coperte a meno che tu usa un GOTO per marcare che tu vuoi anche loro licenziate.
Il compilatore forza questa restrizione (mettendo una bandierina) segnalando ogni clausula CASE che non ha un BREAK come un errore"
----
Vi ringrazio per il vostro aiuto anticipatamente
Matteo
Last edited by a moderator: