C#中Console.ReadLine(),可以用作结束程序吗?例子如下,急!谢谢!

2025-04-20 01:01:24
推荐回答(1个)
回答1:

Console.ReadLine()不是结束程序,是等待从标准输入里接收一行。
没有代码可执行就自动结束程序了。