C
C#6mo 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
zeroo6mo ago
try rebuilding it
- Stronzo-
- Stronzo-OP6mo ago
but how ?
2spooky2play
2spooky2play6mo ago
compile it again
- Stronzo-
- Stronzo-OP6mo ago
ok I do it somehow
2spooky2play
2spooky2play6mo ago
$helloworld
2spooky2play
2spooky2play6mo ago
just in case
Pobiega
Pobiega6mo 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
Buddy6mo ago
$vscode
MODiX
MODiX6mo 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
Buddy6mo ago
Might help too
Want results from more Discord servers?
Add your server