❔ Why does this not work?
The yellow underlined part should work?!?! Its supposed to say whatever the person types in is the username
16 Replies
...does it not work?
no
but does it not work
that's a warning, it doesn't mean it doesn't work
let me check
Hold on, how do I quick save something to get it to work in the external terminal right away?
It is using old code that ive changed
i don't know what that means, to run a C# program you have to build and run it
Shortcut key for saving
your project
saving the source code doesn't rebuild the program automatically
you need to stop and re-run the program from your IDE
How Do I do stop it? Its not using the exact code that I have but the previous that I had
ctrl+c in the terminal will stop a console application
i don't use vs code so i don't know if there is a specific button to terminate it
Alr it works
Ty
what the yellow line is doing is telling you that
Console.ReadLine()
might return null
but your code assumes it doesn't
so your code will work unless that happens, then it will breakok thank you!
I did find the problem^
For some reason my external terminal will not build it first. Its using a previous build
Its not recognizing that when starting
Or as a working thing to begin with
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.