C#的Console.Readkey()

Console.Readkey();
//
Console.Readline();
//
Console.Read();

区别:第一个在键盘敲击任意键退出;后两个差不多,都是输入任意东西后按回车才会退出。

posted @ 2021-07-09 10:47  ly元  阅读(735)  评论(0)    收藏  举报