Sundar
Sundar

Reputation: 43

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?

Upvotes: 3

Views: 587

Answers (1)

Plargato
Plargato

Reputation: 555

c# interactive currently doesn't support redirecting input so if you use any of the Console.Read Methods it will just freeze, you can fix this by clicking the reset button.

Upvotes: 4

Related Questions