title: Faster ways of console I/O in C#
body: <p>I recently started using C# on programming contest sites like sphere online judge. One thing I noticed is, that Console I/O can really slow down my programs in C#. </p>
  
  <p>I am mainly using Console.ReadLine and Console.WriteLine methods. For the integer parsing I have written my own parser, because the built in parsers are <a href="http://blogs.davelozinski.com/curiousconsultant/csharp-net-fastest-way-to-convert-a-string-to-an-int" rel="nofollow">quite slow</a></p>
  
  <p>I am aware, that writing to console is slow, so when there is a lot to be written, I use StringBuilder to build up all the output and write all of them once using a single Console.WriteLine(sb.ToString()) call.</p>
  
  <p>Are there any more optimizations I could to to fasten I/O? Are there any other ways of I/O than what I mentioned above?</p>
  
  <p>(Please spare the <em>you-should-check-your-algorithm-first</em> kind of replies, this question is specifically about fast I/O. Thanks for understanding.) </p>