Console.Writeline Cutting Off Large Output C#
<p>I am simply trying to output a large amount of date to the console. Here is my code...</p>

<pre><code>Main:

    TaskResult tr = task.ExecuteCheck();
          Console.WriteLine(task.Name + "....");
          Console.WriteLine(tr.Result);
          Console.WriteLine();
          Console.ReadLine();


ExecuteCheck
 TaskResult tr =new TaskResult();

            StringBuilder sb = new StringBuilder();
            sb.AppendLine(GetAlotOfData);
             sb.AppendLine(GetSomemoreData);
      tr.Result=sb.ToString();
            return tr;
</code></pre>

<p>When I run this the Console window only shows the last portion of the data eventhough tr.Result is populated correctly with all the data. I have never seen this behavior before. Any idea what could be happening here?</p>

<p>UPDATE:</p>

<pre><code>Console.BufferHeight = Int16.MaxValue - 1; 
</code></pre>

<p>seems to get the data to show, but now the scroll bar is to touchy to use. You barely move it and everything is off the screen</p>

<p>How can this be optimized?</p>