fflush equivalent in c#

  • Thread starter Thread starter vijlak
  • Start date Start date
V

vijlak

Hi All,

I am really stuck here. I have to read an in input ( I am writing a
console app in C# ) and it doesnt wait for the user input. Instead
it's taking the value of the carriage return (13) from user's previous
input. What am i doing wrong?

Is there an equivalent of the famous fflush in c#?

I appreciate your help.

-Thanks,
Rajesh
 
Console.Readline() will cause the console display to pause for user input
(and the resulting carriage return). The data entered (if any) is returned
from the method call.
 
Back
Top