✅ Why and How does this work?
why does this work? when i think of code, i think of line to line declaration, so id think Main() runs furst, and then the method. so why is this?
6 Replies
because main calls welcome, so execution jumps to welcome, it runs the code inside, then it jumps back to main where it left off
code only executes line by line until it runs into code that tells it to go somewhere else, like a conditional statement, loop, method call, etc.
Unknown User•2w ago
Message Not Public
Sign In & Join Server To View
Get started with beginner tutorials
- Interactive text tutorial
- Video tutorial
- Fundamentals documentation
Unknown User•2w ago
Message Not Public
Sign In & Join Server To View
there was no reason to close this on them...
let's relax on the thread policing, you really shouldn't close threads that have valid questions regardless of whether you think the question is too basic or not
especially because they'll never see the answer i gave them, they'll just see that their thread disappeared
This is C#, If you meant what i used before, it was Lua and even before that, Python
ohh
so they just like
exist?
oh