I made a c# program, on visual studio, that asks the user for their name and then prints it out. I ran it but I unchecked "run on external console". However when the program asks for my name, i cannot type it in the application output. So i checked the run on external console but now, when i run it, it just opens a blank terminal page.
Here is the code:
using System;
namespace ErrorTypes
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("What is your name?: ");
string name = Console.ReadLine();
Console.WriteLine("Welcome {0}", name);
}
}
}
I am on macOS.
Thanks,