开发者

What's the escape key-sequence for System.Console.In.ReadToEnd?

开发者 https://www.devze.com 2022-12-19 06:22 出处:网络
I tried using System.Console.In.R开发者_如何学JAVAeadToEnd (for code-golf, as it happens), but I can\'t work out what the key sequence is to get it to return from the console.Ctrl+Z signals end-of-str

I tried using System.Console.In.R开发者_如何学JAVAeadToEnd (for code-golf, as it happens), but I can't work out what the key sequence is to get it to return from the console.


Ctrl+Z signals end-of-stream when typed in a console window interactively.

http://en.wikipedia.org/wiki/End-of-file

(Ctrl+Z has to be entered on a new line, and followed by enter)

0

精彩评论

暂无评论...
验证码 换一张
取 消