Suchergebnisse

Suchergebnisse 1-2 von insgesamt 2.

  • Benutzer-Avatarbild

    Zitat von SithLady: „13. End“Das ist aber die Holzhammermethode. Ein Return wäre hier vermutlich besser angebracht.

  • Benutzer-Avatarbild

    Zitat von SithLady: „warum es als "die Holzhammer Methode" gilt "End" anstatt "Return" zu nehmen“Mit End erschiesst sich das Programm selbst. docs.microsoft.com/en-us/dotne…/statements/end-statement Zitat von Microsoft: „You should use End sparingly, and only when you need to stop immediately. The normal ways to terminate a procedure (Return Statement and Exit Statement) not only close down the procedure cleanly but also give the calling code the opportunity to close down cleanly. A console appl…