简体   繁体   中英

C# Interactive Console.Readkey() hangs

When I type Console.Readkey() on the C# interactive window on Visual Studio 2015, it just hangs (typing any number of characters does not seem to do anything). Is this an incorrect setting or am I not understanding how the Interactive Window works with the Console?

c#interactive目前不支持重定向输入,因此如果您使用任何Console.Read方法它只会冻结,您可以通过单击重置按钮来解决此问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM