When using Console.Read(), the implementation seems to think that as soon as you push enter, you've entered enough bytes for an eternity of reads. For example, if Read is called twice in a row, you can't enter one value on one line, push enter, and move to the next. Even if you only entered one character, Read just returns zero (Edit: Or one. I'm not too sure.). I've got this problem with ReadLine too. I'm trying to keep my console open for input after the program's terminated (I have a WPF app and used AllocConsole manually) and/or prompt the user for each individual slice of input. But it worketh not. Is there some button to ask it to block if there's no input available?
I wrote a Brainfuck interpreter, and the example programs from Wiki produce the intended result, if they don't use input.
What I want to do is enter one character, push enter, get that character as a char, repeat.