[求助]请问怎么让它停留一下
using System;
class ex1{
static void Main(string []args){
Console.WriteLine("Please type your name:");
string name = Console.ReadLine();
Console.WriteLine("Welcome to C# world,"+name);
}
}
用命令行模式编译成.exe文件打开后,发现输入 name之后后面的语句Console.WriteLine("Welcome to C# world,"+name);执行完之后就把窗口关闭了,请问有什么办法让窗口停留,类似C++安任意键推出?