C
C#5mo ago
- Stronzo-

✅ Console.WriteLine("a") isn't showing "a" in console but "Hello, World!"

Console.WriteLine("a") isn't showing "a" in console but "Hello, World!"
No description
11 Replies
zeroo
zeroo5mo ago
try rebuilding it
- Stronzo-
- Stronzo-OP5mo ago
but how ?
2spooky2play
2spooky2play5mo ago
compile it again
- Stronzo-
- Stronzo-OP5mo ago
ok I do it somehow
2spooky2play
2spooky2play5mo ago
$helloworld
2spooky2play
2spooky2play5mo ago
just in case
Pobiega
Pobiega5mo ago
Just to be abundantly clear whats going on here: C# is a compiled language, not interpreted (Python, Javascript, etc). When you want to run a C# program, you first need to build it into an executable. What happened above is that you had changed your source, but not re-compiled, so it was still running the old executable that had "Hello world" written in it.
Buddy
Buddy5mo ago
$vscode
MODiX
MODiX5mo ago
Follow the instructions here on getting started with DevKit for C# in VSCode: https://code.visualstudio.com/docs/csharp/get-started
Get started with C# and .NET in Visual Studio Code
Getting Started with C# and .NET Development in Visual Studio Code
Buddy
Buddy5mo ago
Might help too
Want results from more Discord servers?
Add your server