Visual Studio Console Application (MAC)

Perhaps some of you know that Visual Studio (Preview) is ready to use.

I have a simple question, maybe I did something wrong, or it does not work correctly.

When I start debugging a console application, I do not want to let me read the name from the keyboard.

string name = Console.ReadLine();
Console.WriteLine(name);

Can someone help me? I would like to see how it works correctly.

+4
source share
1 answer

By default, VS for Mac uses a panel Application Outputto simulate a console.

, Project Options Run on external console Run|Configurations|Default.

+14

Source: https://habr.com/ru/post/1661273/


All Articles