Clear the input buffer

Feb 4 2007 7:35 PM
Hi all! I have a problem with console input. I am reading a char using Console.Read() and when I am ready to read the next character,it is not reading it becauseI think the enter the press at the end of the line during my first input is being buffered.Can can one help me. I tried using Console.ReadLine().But it is returning a string. What can I do to get Integer and char input and also allow me to press enter at the end of every input. Thank you.