title: Why does Console.Readline() have a limit on the length of text it allows?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5557889/console-readline-max-length">Console.Readline() max length?</a>  </p>
  </blockquote>
  
  
  
  <p>In <a href="http://chat.meta.stackoverflow.com/rooms/89/conversation/this-is-why-i-cant-have-nice-things">my attempt</a> to find a very simple text to speech application <a href="http://chat.meta.stackoverflow.com/message/627468?plain=true">I decided it was faster to write my own</a>. I noticed, however, that <a href="http://msdn.microsoft.com/en-us/library/system.console.readline.aspx" rel="nofollow noreferrer"><code>Console.Readline()</code></a> is limited in the amount of text it allows per line to 254 characters; I can't find anything about this limit in the method documentation.</p>
  
  <p>Is this a limitation in the Windows stack, or a problem with my code? How can I overcome it? I could decide to read character by character with <a href="http://msdn.microsoft.com/en-us/library/471w8d85.aspx" rel="nofollow noreferrer"><code>Console.Readkey()</code></a>, but won't I then risk losing characters to the MS DOS dumb text pasting behavior?</p>