SyntaxFix
Write A Post
Hire A Developer
Questions
To be able to give it input without it closing as well you could enclose the code in a while loop
while (true) { <INSERT CODE HERE> }
It will continue to halt at Console.ReadLine();, then do another loop when you input something.
Console.ReadLine();