A very simple console app.
if I run it by dotnet run in vscode or terminal, it get result as below :
But if I run it by direct double click the .exe, it's works fine:
Just can't figure out why.
C#:
Console.Write("Input your name: ");
string name = Console.ReadLine();
Console.WriteLine(name);
if I run it by dotnet run in vscode or terminal, it get result as below :
But if I run it by direct double click the .exe, it's works fine:
Just can't figure out why.