title: Changing Console Window's size throws ArgumentOutOfRangeException
body: <p>I am trying to set the size of the Console Window in a c# console application. I get an <code>ArgumentOutOfRangeException</code> with this message:</p>
  
  <blockquote>
    <p>The value must be less than the console's current maximum window size
    of 41 in that dimension. Note that this value depends on screen
    resolution and the console font.</p>
  </blockquote>
  
  <p>I am using this to set it:</p>
  
  <pre><code>Console.WindowHeight = 480;
  </code></pre>
  
  <p>How do you set the Console window's size properly?</p>